Skip to content
Snippets Groups Projects
Commit 38188642 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

execution mode on sh in docker image

parent 28569150
Branches
Tags
2 merge requests!3Launch script,!2Refactoring : all scripts in Dockerfiles/python/scripts
Pipeline #44074 passed
......@@ -42,16 +42,19 @@ mkdir -p /app/tmp && \
chown -R calquluser:calquluser /app && \
chmod 777 /app/logs /app/tmp
WORKDIR /app
USER calquluser
# Add app
COPY --chown=calquluser:calquluser ./scripts/*.py ./
COPY --chown=calquluser:calquluser ./scripts/*.sh ./
COPY --chown=calquluser:calquluser --chmod= ./scripts/*.sh ./
COPY --chown=calquluser:calquluser ./sql ./
COPY --chown=calquluser:calquluser .env ./
RUN chmod 755 ./*.sh
# Launch calculation
CMD [ "/bin/bash", "./launch.sh" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment