Fixed alpine dockerfile
Build and Push Alpine Image / Build and push image (push) Successful in 1m28s Details
Build and Push Ubuntu Image / Build and push image (push) Successful in 4m22s Details

This commit is contained in:
Aditya Prima 2024-03-24 05:04:56 +07:00
parent f09e766fe4
commit 6f2a7f6bfe
1 changed files with 5 additions and 1 deletions

View File

@ -12,8 +12,12 @@ RUN --mount=type=cache,target=/var/cache/apk \
apk upgrade && apk add --update \
nginx openssl
# REMOVE CURRENT NGINX CONFIGURATIONS
RUN rm -f /etc/nginx/conf.d/*
# COPY CONFIGURATION FILES
ADD ./etc /etc
ADD ./etc/nginx/nginx.conf /etc/nginx/nginx.conf
ADD ./etc/nginx/conf.d /etc/nginx/conf.d
ADD ./usr /usr
# CLEAN APK CACHES