mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-28 06:50:43 -05:00
11 lines
227 B
Docker
11 lines
227 B
Docker
FROM python:3.12
|
|
|
|
WORKDIR /code
|
|
|
|
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
COPY ./app /code/app
|
|
|
|
CMD ["fastapi", "run", "app/main.py", "--port", "80"]
|