Update Dockerfile

This commit is contained in:
Richard Bronkhorst 2023-06-05 22:25:39 +02:00
parent e5fd881dec
commit 5153a3fcdd

View File

@ -6,6 +6,7 @@ ADD --chown=user requirements.txt /app/requirements.txt
WORKDIR /app WORKDIR /app
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
ADD --chown=user . /app ADD --chown=user . /app
RUN chmod +x /app/commander.py
VOLUME /data VOLUME /data
ENTRYPOINT [ "/app/commander.py"] ENTRYPOINT [ "/app/commander.py"]
CMD ["-s", "/data/store.db"] CMD ["-s", "/data/store.db"]