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 2db465e commit fb25ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if cookiecutter.use_fathom == "y" -%}
FROM python:{{ cookiecutter.python_version }} as build-stage
FROM python:{{ cookiecutter.python_version }} AS build-stage

COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:{{ cookiecutter.python_version }} as build-stage
FROM python:{{ cookiecutter.python_version }} 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 fb25ca8

Please sign in to comment.