From 4eb56c9de59432008b5c5e1468cf4b3621472cf2 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:13:44 -0500 Subject: [PATCH] chore: Fix Docker lettercase warning --- Dockerfile_static | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile_static b/Dockerfile_static index e3b117ac..c4d07ddc 100644 --- a/Dockerfile_static +++ b/Dockerfile_static @@ -1,4 +1,4 @@ -FROM python:3.11 as build-stage +FROM python:3.11 AS build-stage COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt @@ -10,7 +10,7 @@ ENV DJANGO_ENV=production RUN python manage.py collectstatic --noinput -v2 -FROM nginxinc/nginx-unprivileged:latest as production-stage +FROM nginxinc/nginx-unprivileged:latest AS production-stage USER root COPY --from=build-stage --chown=nginx:root /workdir/static /usr/share/nginx/html/static COPY --chown=nginx:root default.conf /etc/nginx/conf.d/default.conf