diff --git a/api/Dockerfile b/api/Dockerfile new file mode 100644 index 0000000..96f5801 --- /dev/null +++ b/api/Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.10.12-bullseye +MAINTAINER Philippe Remy + +ARG DEBIAN_FRONTEND=noninteractive + +ENV PYTHONUNBUFFERED 1 + +COPY . /app/ + +WORKDIR /app +RUN pip install -e . --upgrade + +WORKDIR api + +ENTRYPOINT [ "python3" ] + +CMD [ "server.py" ] \ No newline at end of file