9 lines
241 B
Docker
9 lines
241 B
Docker
|
FROM python:3.11-slim
|
||
|
#RUN apt-get update
|
||
|
#RUN apt-get install -y gcc
|
||
|
WORKDIR /app
|
||
|
COPY requirements.txt /app
|
||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
COPY src/ /app
|
||
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|