alas/api/Dockerfile
Armin Friedl a37a848d6d
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Fix uvicorn install
2022-07-03 22:06:25 +02:00

12 lines
189 B
Docker

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