Compare commits
13 Commits
56000f7e4b
...
master
Author | SHA1 | Date | |
---|---|---|---|
0da0f43729 | |||
76034f2d7e | |||
7c5b10da0b | |||
2cbea618bd | |||
dea7a6647c | |||
e313dad836 | |||
482b648aed | |||
b9ef918d4c | |||
9b39a3a9ac | |||
e0d5ae5e66 | |||
7714cc614a | |||
0ad26585e4 | |||
2a614a94de |
@ -1,5 +1,5 @@
|
|||||||
# Stage 1: Build Nginx
|
# Stage 1: Build Nginx
|
||||||
FROM alpine:3.20.2 as builder
|
FROM alpine:3.20.3 as builder
|
||||||
|
|
||||||
# Install build dependencies and required tools
|
# Install build dependencies and required tools
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk update && apk upgrade && \
|
||||||
@ -31,7 +31,7 @@ COPY ./docker/index.html /tmp/index.html
|
|||||||
COPY ./public /tmp/public
|
COPY ./public /tmp/public
|
||||||
|
|
||||||
# Stage 2: Create a smaller production image
|
# Stage 2: Create a smaller production image
|
||||||
FROM alpine:3.20.2
|
FROM alpine:3.20.3
|
||||||
|
|
||||||
# Copy Nginx and PHP-FPM binaries and configurations from the builder stage
|
# Copy Nginx and PHP-FPM binaries and configurations from the builder stage
|
||||||
COPY --from=builder /usr/local/nginx /usr/local/nginx
|
COPY --from=builder /usr/local/nginx /usr/local/nginx
|
||||||
|
Reference in New Issue
Block a user