This commit is contained in:
parent
b9ef918d4c
commit
482b648aed
10
Dockerfile
10
Dockerfile
@ -1,9 +1,13 @@
|
||||
# Stage 1: Build Nginx
|
||||
FROM alpine:3.20.3 AS builder
|
||||
|
||||
# Variables
|
||||
ARG NGINX_VERSION="1.27.1"
|
||||
ARG PHP_VERSION="8.3"
|
||||
|
||||
# Stage 1: Build Nginx
|
||||
FROM alpine:3.20.3 AS builder
|
||||
# Print versions
|
||||
RUN echo "NGINX_VERSION=${NGINX_VERSION}"
|
||||
RUN echo "PHP_VERSION=${PHP_VERSION}"
|
||||
|
||||
# Install build dependencies and required tools
|
||||
RUN apk update && apk upgrade && \
|
||||
@ -57,4 +61,4 @@ RUN rm -rf /var/cache/apk/*
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
# Start server
|
||||
CMD ["sh", "/start.sh"]
|
||||
CMD ["sh", "/start.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user