All checks were successful
continuous-integration/drone/push Build is passing
16 lines
225 B
Docker
16 lines
225 B
Docker
FROM python:3.9
|
|
|
|
RUN mkdir app
|
|
|
|
COPY requirements.txt /app/
|
|
|
|
RUN pip install -r /app/requirements.txt
|
|
|
|
EXPOSE 80
|
|
|
|
COPY main.py /app/main.py
|
|
|
|
VOLUME /cache
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
|