Skip to content
Snippets Groups Projects
Commit e0b11be2 authored by Brittany Faciane's avatar Brittany Faciane
Browse files

fix notification cmd

parent 9af960cb
No related branches found
Tags end-of-sprint-28
2 merge requests!1452Merge 2.8.2 to main,!1396changes for local builds
Checking pipeline status
# This is nrao:notification
FROM python:3.10-slim-buster as base
ARG WS_VERSION=unknown-version
ARG DEPLOY_ENV
ARG WS_VERSION=unknown-version
ENV DEPLOY_ENV=${DEPLOY_ENV}
# Environment variables
ENV PIP_NO_CACHE_DIR false
......@@ -48,7 +49,7 @@ RUN poetry install
FROM base as prod
ENV PYTHONPATH "${PYTHONPATH}:/home/vlapipe/.local"
CMD ["poetry", "run", "pserve", "--reload", "${DEPLOY_ENV}.ini"]
CMD poetry run pserve --reload ${DEPLOY_ENV}.ini
FROM base as dev
......
......@@ -3,6 +3,7 @@ ARG LOCAL_OR_SERVER_PEX=local-pex
FROM python:3.10-slim-buster as base
ARG WS_VERSION=unknown-version
ARG DEPLOY_ENV
ENV DEPLOY_ENV=${DEPLOY_ENV}
# Environment variables
ENV PIP_NO_CACHE_DIR false
......@@ -64,7 +65,6 @@ RUN SETUPTOOLS_SCM_PRETEND_VERSION=${WS_VERSION} pip install --user -r test-requ
#RUN . ./install-pexes.sh
FROM ${LOCAL_OR_SERVER_PEX} as pex-base
ARG DEPLOY_ENV
# HTCondor install
USER root
RUN apt update && apt install -y curl gnupg apt-transport-https
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment