1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

include build directory and nginx in docker build

This commit is contained in:
Ricardo Hernandez-Montoya 2017-06-01 11:19:38 +02:00
parent 342e137560
commit c75ac09aa9
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,2 @@
node_modules/
nginx/
doc/
build/

View file

@ -2,9 +2,9 @@ FROM nginx:stable-alpine
# Copy frontend files and make them accesible to nginx
RUN mkdir /www
COPY ./build /www
COPY build /www
RUN chown nginx:nginx -R /www
RUN chmod -R 0755 /www
# Copy nginx configuration
COPY ./nginx/villas.conf /etc/nginx/conf.d/default.conf
COPY nginx/villas.conf /etc/nginx/conf.d/default.conf