File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
# define an alias for the specfic python version used in this file.
2
- FROM python:3.10.13-slim-bullseye as python
2
+ FROM python:3.10.13-slim-bullseye AS python
3
3
4
4
# Python build stage
5
- FROM python as python-build-stage
5
+ FROM python AS python-build-stage
6
6
7
7
ARG BUILD_ENVIRONMENT=local
8
8
@@ -25,7 +25,7 @@ RUN pip wheel --wheel-dir /usr/src/app/wheels \
25
25
26
26
27
27
# Python 'run' stage
28
- FROM python as python-run-stage
28
+ FROM python AS python-run-stage
29
29
30
30
ARG BUILD_ENVIRONMENT=local
31
31
ARG APP_HOME=/app
Original file line number Diff line number Diff line change 1
1
# define an alias for the specfic python version used in this file.
2
- FROM python:3.10.13-slim-bullseye as python
2
+ FROM python:3.10.13-slim-bullseye AS python
3
3
4
4
5
5
# Python build stage
6
- FROM python as python-build-stage
6
+ FROM python AS python-build-stage
7
7
8
8
ENV PYTHONDONTWRITEBYTECODE 1
9
9
@@ -26,7 +26,7 @@ RUN pip wheel --no-cache-dir --wheel-dir /usr/src/app/wheels \
26
26
27
27
28
28
# Python 'run' stage
29
- FROM python as python-run-stage
29
+ FROM python AS python-run-stage
30
30
31
31
ARG BUILD_ENVIRONMENT
32
32
ENV PYTHONUNBUFFERED 1
Original file line number Diff line number Diff line change 1
-
2
-
3
1
# define an alias for the specfic python version used in this file.
4
- FROM python:3.10.13-slim-bullseye as python
2
+ FROM python:3.10.13-slim-bullseye AS python
5
3
6
4
# Python build stage
7
- FROM python as python-build-stage
5
+ FROM python AS python-build-stage
8
6
9
7
ARG BUILD_ENVIRONMENT=production
10
8
@@ -27,7 +25,7 @@ RUN pip wheel --wheel-dir /usr/src/app/wheels \
27
25
28
26
29
27
# Python 'run' stage
30
- FROM python as python-run-stage
28
+ FROM python AS python-run-stage
31
29
32
30
ARG BUILD_ENVIRONMENT=production
33
31
ARG APP_HOME=/app
You can’t perform that action at this time.
0 commit comments