Updated rootless dockerfile
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (root user) (push) Successful in 34s Details
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (rootless) (push) Successful in 52s Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (Root User) (push) Successful in 12s 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:
Aditya Prima 2024-07-23 18:42:53 +07:00
parent 48de0fa129
commit 1414ac3cd4
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ ADD ./etc/nginx/conf.d /etc/nginx/conf.d
ADD ./app . ADD ./app .
RUN touch /var/run/nginx.pid && chown nginx:nginx /var/run/nginx.pid RUN touch /var/run/nginx.pid && chown nginx:nginx /var/run/nginx.pid
RUN chown -R nginx:nginx /var/lib/nginx
# CLEAR CACHE # CLEAR CACHE
RUN apk del curl && \ RUN apk del curl && \