Skip to content

Commit

Permalink
referencing vb-angular as image; updated docker image to alpine base
Browse files Browse the repository at this point in the history
  • Loading branch information
popenc committed Apr 23, 2024
1 parent 4a90279 commit 8851cf5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions vb_nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
FROM nginx:stable
# FROM nginx:stable

RUN rm /etc/nginx/conf.d/default.conf
FROM nginx:stable-alpine3.17-slim

ARG CONFIG=nginx.conf

COPY $CONFIG /etc/nginx/conf.d/
RUN apk update && \
apk upgrade

RUN rm -rf /usr/share/nginx/html/* && \
rm /etc/nginx/conf.d/default.conf

# RUN rm /etc/nginx/conf.d/default.conf

COPY $CONFIG /etc/nginx/conf.d/

# COPY --from=ghcr.io/usepa/cyanweb-angular:dev-kube /app/dist /usr/share/nginx/html
COPY --from=vb-angular /app/dist /usr/share/nginx/html

0 comments on commit 8851cf5

Please sign in to comment.