We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b1ba9b + 8e69d43 commit b2a401fCopy full SHA for b2a401f
backwork/Dockerfile
@@ -35,17 +35,7 @@ RUN python -m pip install --upgrade pip
35
RUN pip install setuptools==57.5.0
36
RUN pip install -r ./requirements.txt
37
38
-# install sudo as root
39
-RUN apk add --no-cache --update sudo
40
-
41
-# add new user
42
-RUN adduser -D myapp \
43
- && echo "myapp ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/myapp \
44
- && chmod 0440 /etc/sudoers.d/myapp
45
46
-COPY --chown=myapp ./docker-entrypoint.sh /
47
-RUN mkdir /backups && chown myapp /backups
48
-USER myapp
+COPY ./docker-entrypoint.sh /
49
50
VOLUME ["/backups"]
51
ENTRYPOINT ["/sbin/tini", "--"]
0 commit comments