diff --git a/Dockerfile b/Dockerfile index d3dba9e..752e5a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM nginx:alpine COPY ./src /usr/share/nginx/html +WORKDIR /usr/share/nginx/html EXPOSE 80 diff --git a/docker-compose.yml b/docker-compose.yml index bead829..4a02fcb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,4 +4,6 @@ services: image: gantt_app ports: - "8446:80" + volumes: + - ./src:/usr/share/nginx/html