From 482b648aed7e954917766123517e5bedc273f944 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Sep 2024 12:17:45 +0100 Subject: [PATCH] oopsies --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ccd5ae6..9553eca 100644 --- a/Dockerfile +++ b/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"] \ No newline at end of file +CMD ["sh", "/start.sh"]