From e68c8d6c8904bc716effb90040c67e1534fea478 Mon Sep 17 00:00:00 2001 From: archaict Date: Mon, 8 Aug 2022 18:11:58 +0700 Subject: [PATCH] update docker-compose --- Dockerfile | 4 ++-- docker-compose.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 108be33..eb57052 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,2 @@ -FROM alpine:3.16.1 -WORKDIR /usr/src/app \ No newline at end of file +FROM nginx:alpine +COPY ./src /usr/share/nginx/html \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index e9d3d99..88c826e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,5 +5,6 @@ services: restart: unless-stopped build: . ports: - - "3000:3000" + - "80:80" + - "443:443" stdin_open: true \ No newline at end of file