Skip to content

Commit

Permalink
Hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
sandstromviktor committed Feb 19, 2024
1 parent 4e65f9e commit 7a5bb73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions serve-filemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ FROM filebrowser/filebrowser
ARG USER=serve
ARG HOME=/home/$USER

COPY filebrowser.json ./.filebrowser.json
COPY filebrowser.json /.filebrowser.json

COPY startup.sh /usr/local/bin/startup.sh
RUN apk update \
&& adduser -D -u 1000 -g 1000 -h $HOME $USER \
&& chmod +x /usr/local/bin/startup.sh
&& chmod +x /usr/local/bin/startup.sh \
&& rm -rf /var/lib/apt/lists/*

COPY branding/ $HOME/branding

USER $USER
ENTRYPOINT [ "/usr/local/bin/startup.sh" ]
ENTRYPOINT [ "/usr/local/bin/startup.sh" ]

0 comments on commit 7a5bb73

Please sign in to comment.