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 3c9bc36 commit 2c7203d
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,5 +1,5 @@
# https://cli.vuejs.org/guide/deployment.html#docker-nginx
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 @@ -18,7 +18,7 @@ RUN npx vue-cli-service build
WORKDIR /workdir
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/frontend/dist /usr/share/nginx/html
COPY --from=build-stage --chown=nginx:root /workdir/static /usr/share/nginx/html/static
Expand Down

0 comments on commit 2c7203d

Please sign in to comment.