halfapi/Dockerfile

10 lines
251 B
Docker
Raw Permalink Normal View History

2021-10-12 03:13:25 +02:00
# syntax=docker/dockerfile:1
FROM docker.io/python:3.8.12-slim-bullseye
COPY . /halfapi
WORKDIR /halfapi
2021-10-12 18:16:16 +02:00
RUN apt-get update > /dev/null && apt-get -y install git > /dev/null
2021-10-12 18:08:07 +02:00
RUN pip install gunicorn uvicorn
2021-10-12 03:13:25 +02:00
RUN pip install .
CMD gunicorn halfapi.app