Skip to content

Commit a7b12c1

Browse files
author
Karl Isenberg
committed
Use alpine nginx docker image for reduced image size
1 parent 0f2008e commit a7b12c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM nginx:stable
1+
FROM nginx:stable-alpine
2+
3+
RUN apk --no-cache add bash ca-certificates
24

35
# delete default nginx html
46
RUN rm -rf /usr/share/nginx/html/*

0 commit comments

Comments
 (0)