From be217baa47b33257ba97fc1ff37edc6e7534a3f3 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:14:07 -0500 Subject: [PATCH] chore: Fix Docker lettercase warning --- Dockerfile_django | 2 +- Dockerfile_static | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile_django b/Dockerfile_django index 4d55250..a1a99ca 100644 --- a/Dockerfile_django +++ b/Dockerfile_django @@ -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 diff --git a/Dockerfile_static b/Dockerfile_static index e3b117a..c4d07dd 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