Skip to content

Commit

Permalink
chore: Fix Dockerfile lettercase warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 8, 2024
1 parent 401cab8 commit 4ddeb14
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 nikolaik/python-nodejs:python3.11-nodejs18 as build-stage
FROM nikolaik/python-nodejs:python3.11-nodejs18 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 nikolaik/python-nodejs:python3.11-nodejs18 as build-stage
FROM nikolaik/python-nodejs:python3.11-nodejs18 AS build-stage

COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
Expand All @@ -15,7 +15,7 @@ ENV DJANGO_ENV=production
RUN npx webpack --mode 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 4ddeb14

Please sign in to comment.