halfapi/Dockerfile

10 lines
251 B
Docker
Raw Normal View History

2021-10-12 03:13:25 +02:00
# syntax=docker/dockerfile:1
2022-07-18 23:23:09 +02:00
FROM docker.io/python:3.10.5-slim-bullseye
2021-10-12 03:13:25 +02:00
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
RUN pip install .
2021-10-12 03:13:25 +02:00
CMD gunicorn halfapi.app