From 356001b5ad568baf9948a9c64febb5ac274f65d0 Mon Sep 17 00:00:00 2001 From: MichiK <6341204+der-michik@users.noreply.github.com> Date: Tue, 4 Dec 2018 03:23:37 +0100 Subject: [PATCH] Swap yarn install and copy assets as well --- contrib/nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nginx/Dockerfile b/contrib/nginx/Dockerfile index 609792c0..74907326 100644 --- a/contrib/nginx/Dockerfile +++ b/contrib/nginx/Dockerfile @@ -1,9 +1,9 @@ FROM node:8-alpine as themes WORKDIR /app RUN apk add --no-cache yarn -COPY resources/assets/ /app/resources/assets COPY .babelrc package.json webpack.config.js /app/ RUN yarn install +COPY resources/assets/ /app/resources/assets RUN yarn build FROM nginx:alpine