in-c4/Dockerfile

11 lines
205 B
Docker
Raw Permalink Normal View History

2022-08-04 05:41:51 +02:00
FROM python:3.10-alpine
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install -r requirements.txt
COPY . .
ENTRYPOINT [ "uvicorn", "main:app", "--use-colors", "--host", "0.0.0.0" ]
EXPOSE 8000