Updated rootless dockerfile
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (root user) (push) Successful in 36s
Details
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (rootless) (push) Successful in 53s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (Root User) (push) Successful in 13s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (rootless) (push) Successful in 14s
Details
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (root user) (push) Successful in 36s
Details
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (rootless) (push) Successful in 53s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (Root User) (push) Successful in 13s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (rootless) (push) Successful in 14s
Details
This commit is contained in:
parent
50ad127b53
commit
c41cb37409
|
@ -21,7 +21,8 @@ ADD ./etc/nginx/conf.d /etc/nginx/conf.d
|
|||
|
||||
ADD ./app .
|
||||
|
||||
RUN chown -R nginx:nginx /var/lib/nginx
|
||||
RUN chown -R nginx:nginx /app && \
|
||||
chown -R nginx:nginx /var/lib/nginx
|
||||
|
||||
# CLEAR CACHE
|
||||
RUN apk del curl && \
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# /etc/nginx/nginx.conf
|
||||
|
||||
user nginx nginx;
|
||||
|
||||
# Do not start as daemon
|
||||
daemon off;
|
||||
|
||||
|
|
Loading…
Reference in New Issue