File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.11 as build-stage
1
+ FROM python:3.11 AS build-stage
2
2
3
3
COPY requirements.txt /tmp/requirements.txt
4
4
RUN pip install --no-cache-dir -r /tmp/requirements.txt
Original file line number Diff line number Diff line change 1
- FROM python:3.11 as build-stage
1
+ FROM python:3.11 AS build-stage
2
2
3
3
COPY requirements.txt /tmp/requirements.txt
4
4
RUN pip install --no-cache-dir -r /tmp/requirements.txt
@@ -10,7 +10,7 @@ ENV DJANGO_ENV=production
10
10
11
11
RUN python manage.py collectstatic --noinput -v2
12
12
13
- FROM nginxinc/nginx-unprivileged:latest as production-stage
13
+ FROM nginxinc/nginx-unprivileged:latest AS production-stage
14
14
USER root
15
15
COPY --from=build-stage --chown=nginx:root /workdir/static /usr/share/nginx/html/static
16
16
COPY --chown=nginx:root default.conf /etc/nginx/conf.d/default.conf
You can’t perform that action at this time.
0 commit comments