Skip to content

Commit 2734d70

Browse files
committed
chore: Normalize case of keywords in Dockerfiles
1 parent ec02b54 commit 2734d70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile_django

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11 as build-stage
1+
FROM python:3.11 AS build-stage
22

33
COPY requirements.txt /tmp/requirements.txt
44
RUN pip install --no-cache-dir -r /tmp/requirements.txt

Dockerfile_static

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11 as build-stage
1+
FROM python:3.11 AS build-stage
22

33
COPY requirements.txt /tmp/requirements.txt
44
RUN pip install --no-cache-dir -r /tmp/requirements.txt
@@ -10,7 +10,7 @@ ENV DJANGO_ENV=production
1010

1111
RUN python manage.py collectstatic --noinput -v2
1212

13-
FROM nginxinc/nginx-unprivileged:latest as production-stage
13+
FROM nginxinc/nginx-unprivileged:latest AS production-stage
1414
USER root
1515
COPY --from=build-stage --chown=nginx:root /workdir/static /usr/share/nginx/html/static
1616
COPY --chown=nginx:root default.conf /etc/nginx/conf.d/default.conf

0 commit comments

Comments
 (0)