obs-portal/api/Dockerfile

17 lines
303 B
Docker
Raw Normal View History

2023-05-19 16:21:45 +00:00
FROM python:3.11.3-bullseye
WORKDIR /opt/obs/api
2021-11-04 17:13:24 +00:00
ADD scripts /opt/obs/scripts
RUN pip install -e /opt/obs/scripts
2021-09-27 16:54:02 +00:00
ADD requirements.txt /opt/obs/api/
RUN pip install -r requirements.txt
ADD setup.py /opt/obs/api/
2021-11-16 20:59:37 +00:00
ADD obs /opt/obs/api/obs/
2021-11-04 17:13:24 +00:00
RUN pip install -e .
2021-09-27 16:54:02 +00:00
2021-11-04 17:13:24 +00:00
EXPOSE 8000
2021-09-27 16:54:02 +00:00
2021-11-14 22:42:02 +00:00
CMD ["openbikesensor-api"]