This commit is contained in:
@@ -3,9 +3,9 @@ FROM python:3.7
|
||||
VOLUME ["/in", "/out"]
|
||||
|
||||
RUN python -m pip install inotify \
|
||||
&& adduser mayan --disabled-password --disabled-login --no-create-home --gecos ""
|
||||
&& adduser copyuser --disabled-password --disabled-login --no-create-home --gecos ""
|
||||
|
||||
COPY --chown=mayan:mayan script.py /
|
||||
COPY --chown=copyuser:copyuser script.py /
|
||||
COPY entrypoint.sh /
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user