From c7deeb9368a6dad4e60ab80d0d7a98713d31a8b9 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 26 Jul 2019 13:32:54 +0200 Subject: Docker/Release: Add more state files, improved Dockerfiles --- contrib/nginx/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib/nginx') diff --git a/contrib/nginx/Dockerfile b/contrib/nginx/Dockerfile index 74907326..3fe424aa 100644 --- a/contrib/nginx/Dockerfile +++ b/contrib/nginx/Dockerfile @@ -1,12 +1,13 @@ FROM node:8-alpine as themes WORKDIR /app RUN apk add --no-cache yarn -COPY .babelrc package.json webpack.config.js /app/ +COPY .babelrc .browserslistrc package.json webpack.config.js /app/ RUN yarn install COPY resources/assets/ /app/resources/assets RUN yarn build FROM nginx:alpine +RUN mkdir -p /var/www/public/ && touch /var/www/public/index.php COPY contrib/nginx/nginx.conf /etc/nginx/nginx.conf COPY --from=themes /app/public/assets /var/www/public/assets/ -RUN touch /var/www/public/index.php +COPY --from=themes /app/yarn.lock /var/www/ -- cgit v1.2.3-54-g00ecf