Add 2 image variants (root & rootless)
This commit is contained in:
parent
8019cd7240
commit
6e7c4e274a
5 changed files with 47 additions and 4 deletions
12
Dockerfile-rootless
Normal file
12
Dockerfile-rootless
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM nginxinc/nginx-unprivileged:stable-alpine
|
||||
|
||||
LABEL author="Mohammad Naghavi <mohamnag@gmail.com>"
|
||||
|
||||
ADD default-rootless.conf /etc/nginx/conf.d/default.conf
|
||||
ADD css/ /opt/www/file-browser/css/
|
||||
ADD image/ /opt/www/file-browser/image/
|
||||
ADD js/ /opt/www/file-browser/js/
|
||||
ADD index.html /opt/www/file-browser/
|
||||
|
||||
VOLUME /opt/www/files/
|
||||
EXPOSE 8080
|
Loading…
Add table
Add a link
Reference in a new issue