10 lines
205 B
Docker
10 lines
205 B
Docker
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
|