Compare commits
2 Commits
f31493fabf
...
56000f7e4b
Author | SHA1 | Date | |
---|---|---|---|
56000f7e4b | |||
05c2272385 |
@ -1,5 +1,5 @@
|
||||
# Stage 1: Build Nginx
|
||||
FROM alpine:3.20.1 as builder
|
||||
FROM alpine:3.20.2 as builder
|
||||
|
||||
# Install build dependencies and required tools
|
||||
RUN apk update && apk upgrade && \
|
||||
@ -31,7 +31,7 @@ COPY ./docker/index.html /tmp/index.html
|
||||
COPY ./public /tmp/public
|
||||
|
||||
# Stage 2: Create a smaller production image
|
||||
FROM alpine:3.20.1
|
||||
FROM alpine:3.20.2
|
||||
|
||||
# Copy Nginx and PHP-FPM binaries and configurations from the builder stage
|
||||
COPY --from=builder /usr/local/nginx /usr/local/nginx
|
||||
|
Reference in New Issue
Block a user