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

Logs and tmp dir creation

parent 95de0334
Branches
Tags
2 merge requests!3Launch script,!2Refactoring : all scripts in Dockerfiles/python/scripts
Pipeline #43934 passed
......@@ -35,17 +35,16 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip \
RUN addgroup calquluser && \
useradd calquluser -g calquluser --home /app && \
mkdir -p /app && \
chown calquluser:calquluser /app
mkdir -p /app/logs && \
mkdir -p /app/tmp && \
chown -R calquluser:calquluser /app
WORKDIR /app
# COPY --chown=calquluser:calquluser / /app
USER calquluser
COPY --chown=calquluser:calquluser ./scripts/*.py ./
COPY ./sql ./
RUN pwd && ls -la .
COPY --chown=calquluser:calquluser ./sql ./
# Launch calculation
# CMD [ "python3", "./hello-world.py" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment