Skip to content
Snippets Groups Projects
Commit ce9b011f authored by vjrj's avatar vjrj
Browse files

Fix assets and use nginx entrypoint too

parent 14089cd5
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ if [ -z "$(ls -A /etc/nginx)" ]; then
cp -a /etc/nginx-default/* /etc/nginx/
fi
CONFIG_FILE="/usr/share/nginx/html/assets/env.production.txt"
CONFIG_FILE="/usr/share/nginx/html/assets/assets/env.production.txt"
VARIABLES=(
"SENTRY_DSN"
......@@ -26,4 +26,7 @@ for VAR_NAME in "${VARIABLES[@]}"; do
fi
done
# Tyr to mimic nginx entrypoint
# https://github.com/nginxinc/docker-nginx/blob/master/Dockerfile-debian.template
/docker-entrypoint.sh
exec nginx -g "daemon off;"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment