alas/api/Dockerfile
Armin Friedl e40ffc00c3
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
Prepare build and deployment
2022-07-03 21:08:27 +02:00

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"]