Skip to content

Commit

Permalink
style(dockerfile): use matching casing
Browse files Browse the repository at this point in the history
Fixes the following warning:
- WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match

Refs: HP-2441
  • Loading branch information
charn committed Jul 30, 2024
1 parent 6aefea9 commit f1fb6f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =========================================================
FROM helsinkitest/python-node:3.9-14-slim as staticbuilder
FROM helsinkitest/python-node:3.9-14-slim AS staticbuilder
# ---------------------------------------------------------
# Stage for building static files for
# the project. Installs Node as that
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN python manage.py compilescss \
&& python manage.py collectstatic --noinput

# ===========================================
FROM helsinkitest/python:3.9-slim as appbase
FROM helsinkitest/python:3.9-slim AS appbase
# ===========================================

WORKDIR /app
Expand Down Expand Up @@ -72,7 +72,7 @@ USER appuser
RUN python manage.py compilemessages

# =========================
FROM appbase as development
FROM appbase AS development
# =========================

COPY --chown=appuser:appuser requirements-dev.txt /app/requirements-dev.txt
Expand All @@ -84,7 +84,7 @@ USER appuser
EXPOSE 8000/tcp

# ==========================
FROM appbase as production
FROM appbase AS production
# ==========================

USER appuser
Expand Down

0 comments on commit f1fb6f6

Please sign in to comment.