alas/api/Dockerfile

14 lines
211 B
Docker
Raw Normal View History

2022-07-03 17:29:29 +00:00
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"]