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 19364e2 commit be217ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile_django
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 Down
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 be217ba

Please sign in to comment.