Skip to content

Commit

Permalink
Configuration API env
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Sep 4, 2024
1 parent 076e47e commit cbe86c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ ENV ASSETS_DIRECTORY_OVERRIDE ""
ENV CUSTOM_SCRIPTS_DIRECTORY ""

COPY dist/apps/${APP_NAME} /opt/catalogue/
RUN chmod -R 777 /opt/catalogue/assets/configuration \
&& chown -R www-data:www-data /opt/catalogue/assets/configuration
RUN chmod -R 777 /opt/catalogue/assets/configuration

USER www-data

Expand Down
1 change: 0 additions & 1 deletion tools/docker/docker-entrypoint-ign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ then
sed "s%geonetwork4_api_url = \".*\"%geonetwork4_api_url = \"${GN4_API_URL}\"%" ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME} > /tmp/${CONFIG_FILE_NAME} && cat /tmp/${CONFIG_FILE_NAME} > ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME}
rm /tmp/${CONFIG_FILE_NAME}
chmod -R 644 ${APP_FILES_PATH}${CONFIG_FILE_PATH}
chown -R www-data:www-data ${APP_FILES_PATH}${CONFIG_FILE_PATH}
fi

echo "[INFO] docker-entrypoint-ign.sh ended successfully."
Expand Down

0 comments on commit cbe86c0

Please sign in to comment.