Commit 16e71c87 authored by LAVENIER's avatar LAVENIER
Browse files

Merge remote-tracking branch 'origin/feature/imagine' into feature/imagine

parents b2d89e6a 8dbd52e7
......@@ -7,6 +7,18 @@ COPY ${ENTRYPOINT} /app/app.sh
RUN chmod +x /app/app.sh
COPY ${WAR_FILE} /app/app.war
COPY ${CONFIG_FILES} /app/config/
# container user managment
ENV USERNAME="sumaris_user" \
USERID="20001" \
GROUPNAME="sumaris" \
GROUPID="20001"
# TODO : remove when logfile will be overwrite
RUN touch sumaris.log.file_IS_UNDEFINED
RUN groupadd -g $GROUPID $GROUPNAME \
&& useradd -g $GROUPNAME -u $USERID $USERNAME \
&& chown -R $USERNAME:$GROUPNAME /app \
&& chown -R $USERNAME:$GROUPNAME sumaris.log.file_IS_UNDEFINED
# TODO : do we have to force user ?? (USER $USERNAME)
ENV PORT=8080 \
TZ=UTC \
PROFILES=default
......
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