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:56:51 +0100
commit9f708378f7dce053b99325a027335b3f7a8be029 (patch)
tree8f8e363611ec2ad448e94cb6df171c589b56d824
parent2b03e21f3def4cf6f0ecef79d8bedd4d801b9f45 (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