Skip to content

Commit

Permalink
Adds Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Oct 5, 2024
1 parent 9bf49bd commit 346c0ef
Show file tree
Hide file tree
Showing 2 changed files with 730 additions and 639 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3.11-slim
WORKDIR /app
RUN pip install poetry && useradd -m keller
USER keller
COPY pyproject.toml .
COPY poetry.lock .
COPY triathlon_live_calendar/ .
RUN poetry install
CMD ["poetry", "run", "python", "-m", "triathlon_live_calendar", "web"]
Loading

0 comments on commit 346c0ef

Please sign in to comment.