Commit 1dbdcabd authored by BorjaEst's avatar BorjaEst
Browse files

Changed app folder owner to runtime user

parent 908dbb1c
......@@ -53,7 +53,8 @@ EXPOSE 8080
# Change user context and drop root privileges
RUN groupadd -r ${group} && \
useradd --no-log-init -r -g ${group} ${user}
useradd --no-log-init -r -d /app -g ${group} ${user} && \
chown -R ${user} .
USER ${user}
# Start default script
......
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