14 lines
211 B
Text
14 lines
211 B
Text
|
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"]
|