diff --git a/Dockerfile b/Dockerfile index 752e5a0..0dbedf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM nginx:alpine -COPY ./src /usr/share/nginx/html +COPY ./ /usr/share/nginx/html WORKDIR /usr/share/nginx/html EXPOSE 80 diff --git a/docker-compose.yml b/docker-compose.yml index ceddfb6..8c7a9e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,9 @@ version: "3.3" services: frontend: - image: gantt_app + build: + context: . + dockerfile: Dockerfile ports: - "8446:80" volumes: