Compare commits

5 Commits

2 changed files with 3 additions and 3 deletions

@ -13,7 +13,7 @@ on:
jobs: jobs:
docker: docker:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Get branch name - name: Get branch name
id: branch-name id: branch-name

@ -1,5 +1,5 @@
# Stage 1: Build Nginx # Stage 1: Build Nginx
FROM alpine:3.20.1 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.1 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