From 1a5ed553bef6ee07ae553dcc9a0f4e73ae4f4aaa Mon Sep 17 00:00:00 2001 From: cheliangzhao Date: Sat, 7 Oct 2023 09:06:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Style:=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-simple-server-python/.gitignore | 2 +- http-simple-server-python/Dockerfile | 2 +- http-simple-server-python/docker-compose.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/http-simple-server-python/.gitignore b/http-simple-server-python/.gitignore index 91e75c6..f8d728c 100644 --- a/http-simple-server-python/.gitignore +++ b/http-simple-server-python/.gitignore @@ -1 +1 @@ -resource +www diff --git a/http-simple-server-python/Dockerfile b/http-simple-server-python/Dockerfile index 854165a..9af7394 100644 --- a/http-simple-server-python/Dockerfile +++ b/http-simple-server-python/Dockerfile @@ -1,6 +1,6 @@ FROM python:alpine -WORKDIR /resource +WORKDIR /www EXPOSE 8000 diff --git a/http-simple-server-python/docker-compose.yaml b/http-simple-server-python/docker-compose.yaml index c570ab6..7f84c22 100644 --- a/http-simple-server-python/docker-compose.yaml +++ b/http-simple-server-python/docker-compose.yaml @@ -4,9 +4,9 @@ services: app: image: http-server build: . - restart: always + restart: unless-stopped volumes: - - "./resource:/resource" + - "./www:/www" ports: - "8000:8000"