13 lines
211 B
Docker
13 lines
211 B
Docker
FROM python:3.10
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pip install poetry
|
|
RUN poetry install
|
|
RUN pip install uvicorn
|
|
|
|
EXPOSE 8000
|
|
ENV PORT 8000
|
|
|
|
WORKDIR alas
|
|
CMD ["poetry","run","uvicorn", "--host", "0.0.0.0", "main:app"]
|