alas/api/Dockerfile

13 lines
189 B
Text
Raw Permalink 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
EXPOSE 8000
ENV PORT 8000
WORKDIR alas
2022-07-03 19:54:27 +00:00
CMD ["poetry", "run", "uvicorn", "--host", "0.0.0.0", "main:app"]