Browse Source

add docker

pull/1/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
a579c0d13b
  1. 1
      Dockerfile
  2. 2
      docker-compose.yml

1
Dockerfile

@ -1,3 +1,4 @@
FROM nginx:alpine FROM nginx:alpine
COPY ./src /usr/share/nginx/html COPY ./src /usr/share/nginx/html
WORKDIR /usr/share/nginx/html
EXPOSE 80 EXPOSE 80

2
docker-compose.yml

@ -4,4 +4,6 @@ services:
image: gantt_app image: gantt_app
ports: ports:
- "8446:80" - "8446:80"
volumes:
- ./src:/usr/share/nginx/html

Loading…
Cancel
Save