Browse Source

fix docker

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

2
Dockerfile

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

4
docker-compose.yml

@ -1,7 +1,9 @@
version: "3.3" version: "3.3"
services: services:
frontend: frontend:
image: gantt_app build:
context: .
dockerfile: Dockerfile
ports: ports:
- "8446:80" - "8446:80"
volumes: volumes:

Loading…
Cancel
Save