Browse Source

update docker-compose

pull/1/head
archaict 2 years ago
parent
commit
e68c8d6c89
  1. 4
      Dockerfile
  2. 3
      docker-compose.yml

4
Dockerfile

@ -1,2 +1,2 @@
FROM alpine:3.16.1 FROM nginx:alpine
WORKDIR /usr/src/app COPY ./src /usr/share/nginx/html

3
docker-compose.yml

@ -5,5 +5,6 @@ services:
restart: unless-stopped restart: unless-stopped
build: . build: .
ports: ports:
- "3000:3000" - "80:80"
- "443:443"
stdin_open: true stdin_open: true
Loading…
Cancel
Save