File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ RUN python -m venv /venv
1313ENV PATH=/venv/bin:$PATH
1414
1515# The build stage installs the context into the venv
16- FROM developer as build
16+ FROM developer AS build
1717COPY . /context
1818WORKDIR /context
1919RUN pip install .[server]
2020
2121# The runtime stage copies the built venv into a slim runtime container
22- FROM python:${PYTHON_VERSION}-slim as runtime
22+ FROM python:${PYTHON_VERSION}-slim AS runtime
2323RUN apt-get update && apt-get install -y --no-install-recommends \
2424 curl \
2525 procps \
Original file line number Diff line number Diff line change 55RUN_CONTAINER=0
66REBUILD_CONTAINER=0
77
8-
9-
108cd -- " $( dirname -- " $BASH_SOURCE [0]" ) "
119cd ..
1210# make dockerignore from .gitignore
You can’t perform that action at this time.
0 commit comments