diff --git a/apiserver/Dockerfile b/apiserver/Dockerfile index 5fa4eea..35532cf 100644 --- a/apiserver/Dockerfile +++ b/apiserver/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.12-alpine +EXPOSE 80 ENV TZ=Europe/London COPY . /app @@ -8,7 +9,6 @@ RUN pip install --no-cache-dir -r /app/requirements.txt RUN apk --update --no-cache add curl HEALTHCHECK --start-period=10s --interval=60s --timeout=3s CMD curl -f http://localhost:80/health || exit 1 -RUN mkdir /cache VOLUME /cache CMD ["python", "-u", "/app/main.py"] \ No newline at end of file diff --git a/novel/Dockerfile b/novel/Dockerfile index 504f515..ade676f 100644 --- a/novel/Dockerfile +++ b/novel/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.12-alpine +EXPOSE 80 ENV TZ=Europe/London COPY . /app @@ -8,10 +9,7 @@ RUN pip install --no-cache-dir -r /app/requirements.txt RUN apk --update --no-cache add curl HEALTHCHECK --start-period=10s --interval=60s --timeout=3s CMD curl -f http://localhost:80/health || exit 1 -RUN mkdir /cache VOLUME /cache - -RUN mkdir /config VOLUME /config CMD ["python", "-u", "/app/main.py"] \ No newline at end of file diff --git a/shadowgate/Dockerfile b/shadowgate/Dockerfile index 38f2e7c..0d67aec 100644 --- a/shadowgate/Dockerfile +++ b/shadowgate/Dockerfile @@ -1,14 +1,12 @@ FROM python:3.12-alpine +EXPOSE 80 ENV TZ=Europe/London COPY . /app RUN pip install --no-cache-dir -r /app/requirements.txt -RUN mkdir /conf VOLUME /conf - -RUN mkdir /website VOLUME /website CMD ["python", "-u", "/app/main.py"] \ No newline at end of file diff --git a/template/Dockerfile b/template/Dockerfile index f9873d3..6e8ba54 100644 --- a/template/Dockerfile +++ b/template/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.12-alpine +EXPOSE 80 ENV TZ=Europe/London COPY . /app