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"