From a579c0d13b879c4ee340712ba1881dd0f92db66c Mon Sep 17 00:00:00 2001 From: Muhammad Sulaiman Yusuf Date: Wed, 24 Aug 2022 00:37:59 +0700 Subject: [PATCH] add docker --- Dockerfile | 1 + docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+) 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