obs-portal/api/Dockerfile
2023-05-19 18:21:45 +02:00

17 lines
303 B
Docker

FROM python:3.11.3-bullseye
WORKDIR /opt/obs/api
ADD scripts /opt/obs/scripts
RUN pip install -e /opt/obs/scripts
ADD requirements.txt /opt/obs/api/
RUN pip install -r requirements.txt
ADD setup.py /opt/obs/api/
ADD obs /opt/obs/api/obs/
RUN pip install -e .
EXPOSE 8000
CMD ["openbikesensor-api"]