File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ RUN --mount=type=cache,target=/root/.cache/uv \
5050# Stage 2: Development stage for the project
5151FROM dep-stage AS dev-stage
5252
53+ ARG VALIS_ENV="production"
54+
5355# Copy the main project files over and install
5456COPY ./ ./
5557RUN --mount=type=cache,target=/root/.cache/uv \
@@ -65,15 +67,15 @@ ENV VALIS_SOCKET_DIR='/tmp/webapp'
6567ENV VALIS_LOGS_DIR='/tmp/webapp'
6668ENV VALIS_ALLOW_ORIGIN="https://data.sdss5.org/zora/"
6769ENV VALIS_DB_REMOTE=True
68- ENV VALIS_ENV="production"
70+ ENV VALIS_ENV=$VALIS_ENV
6971ENV SOLARA_CHECK_HOOKS="off"
7072
7173# Stage 3: Build stage (inherits from dev-stage)
7274FROM dev-stage AS build-stage
7375
7476# Set a label
7577LABEL org.opencontainers.image.source=https://github.com/sdss/valis
76- LABEL org.opencontainers.image.description="valis production image"
78+ LABEL org.opencontainers.image.description="valis ${VALIS_ENV} image"
7779
7880# Expose the port
7981EXPOSE 8000
You can’t perform that action at this time.
0 commit comments