diff options
author | msquare <msquare@notrademark.de> | 2019-07-28 18:48:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 18:48:58 +0200 |
commit | 1da69bebd9687dd415df591f7dd43803898ead9e (patch) | |
tree | b8c8e6e178e31ba86b7dcff497697c9bdc16258c /contrib/nginx/Dockerfile | |
parent | aa11bead7cff72daa2ce71a03701d6d2875d7ec4 (diff) | |
parent | c7deeb9368a6dad4e60ab80d0d7a98713d31a8b9 (diff) |
Merge pull request #629 from MyIgel/docker-improvements
Docker/Release: Add more state files, improved Dockerfiles
Diffstat (limited to 'contrib/nginx/Dockerfile')
-rw-r--r-- | contrib/nginx/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
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/ |