Skip to content

Commit

Permalink
Remove mkdir /tmp/data as collisions occur at each docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Jun 22, 2021
1 parent de867a2 commit 817027b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ COPY ./docker-entrypoint.py /dock/docker-entrypoint.py
COPY ./storescp.sh /dock/storescp.sh
RUN chmod 777 /dock \
&& chmod 777 /dock/docker-entrypoint.py \
&& echo "localuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
&& mkdir /tmp/data
&& echo "localuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

ENTRYPOINT ["/dock/docker-entrypoint.py"]
CMD ["/dock/storescp.sh", "-p", "11113"]
Expand Down

0 comments on commit 817027b

Please sign in to comment.