Merge branch 'master' of https://git.fascinated.cc/Fascinated/sharex-php-uploader
All checks were successful
Publish Docker Image / docker (push) Successful in 1m3s

This commit is contained in:
Lee 2024-01-11 05:44:42 +00:00
commit 64023f9bc2

@ -1,5 +1,5 @@
# Stage 1: Build Nginx # Stage 1: Build Nginx
FROM alpine:3.18.4 as builder FROM alpine:3.18.5 as builder
# Install build dependencies and required tools # Install build dependencies and required tools
RUN apk update && apk upgrade && \ RUN apk update && apk upgrade && \
@ -28,7 +28,7 @@ COPY ./docker/start.sh /start.sh
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.18.4 FROM alpine:3.18.5
# 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