This commit is contained in:
Waylon Walker 2025-11-23 11:32:29 -06:00
parent 4ff5788f37
commit 682823a984
9 changed files with 2592 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM python:3.12-slim
ENV DEBIAN_FRONTEND=noninteractive
ENV ENV=prod
ENV TZ="America/Chicago"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
COPY pyproject.toml /app
COPY play_outside/__about__.py /app/play_outside/__about__.py
COPY README.md /app
RUN pip3 install --no-cache-dir --root-user-action=ignore --upgrade pip
RUN pip3 install --no-cache-dir --root-user-action=ignore .
COPY . /app
RUN pip3 install --no-cache-dir --root-user-action=ignore .
EXPOSE 8100
ENTRYPOINT play-outside run --env prod