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

Refactor COPY directives

parent 35f990e4
Branches
No related tags found
2 merge requests!3Launch script,!2Refactoring : all scripts in Dockerfiles/python/scripts
Pipeline #43926 passed
......@@ -38,16 +38,18 @@ mkdir -p /app && \
chown calquluser:calquluser /app
WORKDIR /app
COPY --chown=calquluser:calquluser / /app
# COPY --chown=calquluser:calquluser / /app
USER calquluser
COPY ./scripts/*.py ./
COPY ./sql .
COPY --chown=calquluser:calquluser ./scripts/*.py ./
COPY ./sql ./
RUN pwd && ls -la .
# Launch calculation
CMD [ "python3", "./hello-world.py" ]
# CMD [ "python3", "./hello-world.py" ]
# CMD [ "/bin/bash", "./scripts/launch.sh" ]
# CMD [ "python3", "./scripts/main.py 5 69266" ]
\ No newline at end of file
# launch calculation on Villeurbanne only
CMD [ "python3", "./main.py", " 5", "69266" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment