Skip to content

Commit

Permalink
add expose to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Jan 10, 2025
1 parent a223dea commit aba1770
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apiserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.12-alpine

EXPOSE 80
ENV TZ=Europe/London

COPY . /app
Expand All @@ -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"]
4 changes: 1 addition & 3 deletions novel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.12-alpine

EXPOSE 80
ENV TZ=Europe/London

COPY . /app
Expand All @@ -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"]
4 changes: 1 addition & 3 deletions shadowgate/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
1 change: 1 addition & 0 deletions template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.12-alpine

EXPOSE 80
ENV TZ=Europe/London

COPY . /app
Expand Down

0 comments on commit aba1770

Please sign in to comment.