Skip to content

Commit

Permalink
Merge pull request #5 from DrewRautenberg/docker-time
Browse files Browse the repository at this point in the history
created docker file
  • Loading branch information
DrewRautenberg authored May 31, 2024
2 parents 1aee3ba + 3ccf75a commit 7bedec7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM python:3.12
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./src /code/src
COPY ./data /code/data
WORKDIR /code/src
CMD ["fastapi", "run", "api.py", "--port", "80"]

0 comments on commit 7bedec7

Please sign in to comment.