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