Update Dockerfile

This commit is contained in:
Richard Bronkhorst 2023-06-11 21:06:27 +02:00
parent 8127946d2a
commit 2d1ea367e9

View File

@ -6,7 +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 RUN chmod +x /app/main.py
VOLUME /data VOLUME /data
ENTRYPOINT [ "python3", "/app/main.py"] ENTRYPOINT [ "python3", "/app/main.py"]
CMD ["-s", "/data/"] CMD ["-s", "/data/"]