Commit a6ea717f authored by Guillaume Mella's avatar Guillaume Mella

fix unset version envvar

parent 4524934c
......@@ -12,6 +12,7 @@ services:
args:
# set a specific ini file for docker-compose case. CI will use production.ini as default value (see Dockerfile)
APPCONFFILE: development-compose.ini
IMAGE_TAG: ${IMAGE_TAG}
image: jmdc-ui:${IMAGE_TAG}
ports:
- "6543:6543"
......
......@@ -21,4 +21,7 @@ RUN pip3 install -e .
ARG APPCONFFILE=production.ini
RUN cp -v $APPCONFFILE docker.ini
ARG IMAGE_TAG
ENV IMAGE_TAG=$IMAGE_TAG
CMD ["sh", "run-jmdc-ui.sh", "docker.ini" ]
......@@ -26,7 +26,8 @@ def moderate_submission(request):
if request.POST:
session.begin_nested()
print("request to moderate submission %s"%(sub_id))
# TODO duplicates can still be present : must add an uniq constraints mimic the check_uniq rule
re_valid = re.compile(r'^valid\[(\d+)\]$')
re_comment = re.compile(r'^comment\[(\d+)\]$')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment