Update Dockerfile

This commit is contained in:
Richard Bronkhorst 2023-06-11 21:05:35 +02:00
parent 58ea1bc98e
commit 8127946d2a

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