Skip to content

Commit

Permalink
chore: Fix Docker lettercase warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 8, 2024
1 parent 09f169f commit 4eb56c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile_static
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4eb56c9

Please sign in to comment.