halfapi/Dockerfile
Maxime Alves LIRMM@home 94e09a546b [dockerfile] install git
2021-10-12 18:18:54 +02:00

10 lines
251 B
Docker

# syntax=docker/dockerfile:1
FROM docker.io/python:3.8.12-slim-bullseye
COPY . /halfapi
WORKDIR /halfapi
RUN apt-get update > /dev/null && apt-get -y install git > /dev/null
RUN pip install gunicorn uvicorn
RUN pip install .
CMD gunicorn halfapi.app