obs-portal/api/Dockerfile

14 lines
215 B
Docker
Raw Normal View History

2021-11-04 17:13:24 +00:00
FROM python:3.9.7-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
2021-11-04 17:13:24 +00:00
ADD requirements.txt setup.py obs /opt/obs/api/
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-04 17:13:24 +00:00
CMD ["obs-api"]