summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiK <6341204+der-michik@users.noreply.github.com>2018-12-04 03:23:37 +0100
committermsquare <msquare@notrademark.de>2018-12-07 16:59:56 +0100
commit356001b5ad568baf9948a9c64febb5ac274f65d0 (patch)
tree281d91058c8e08508b2c145b20de2cd08b982f66
parent6a261656479f59a546ddfd6f6f0bfa582c644856 (diff)
Swap yarn install and copy assets as well
-rw-r--r--contrib/nginx/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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