Update Dockerfile

This commit is contained in:
Richard Bronkhorst 2023-06-11 21:34:19 +02:00
parent 5e4b17f574
commit 943f4413ae

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/"]