Dockerfile
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -0,0 +1,14 @@
|
|||||||
|
FROM python:3.14
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
COPY . /app/
|
||||||
|
|
||||||
|
|
||||||
|
CMD ["python3", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|
||||||
Reference in New Issue
Block a user