conductor-checkpoint-msg_01KL3wzQUn3gekDmznXVgXne
This commit is contained in:
parent
1af906139a
commit
b159667152
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ COPY main.py ./
|
||||||
COPY src/ ./src/
|
COPY src/ ./src/
|
||||||
COPY config/ ./config/
|
COPY config/ ./config/
|
||||||
|
|
||||||
# Change ownership to app user
|
# Set execute permissions on main.py and change ownership to app user
|
||||||
RUN chown -Rv app:app /app
|
RUN chmod +x /app/main.py && chown -Rv app:app /app
|
||||||
|
|
||||||
# Switch to non-root user
|
# Switch to non-root user
|
||||||
USER app
|
USER app
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue