mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-28 06:50:43 -05:00
12 lines
227 B
Text
12 lines
227 B
Text
|
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"]
|