nexy7574
708b628146
Some checks failed
Build and Publish / build_and_publish (push) Failing after 40s
8 lines
241 B
Docker
8 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"]
|