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:
parent
342e137560
commit
c75ac09aa9
2 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,2 @@
|
|||
node_modules/
|
||||
nginx/
|
||||
doc/
|
||||
build/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue