wip
This commit is contained in:
parent
4ff5788f37
commit
682823a984
9 changed files with 2592 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue