-
Notifications
You must be signed in to change notification settings - Fork 0
fix-hotjar #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix-hotjar #231
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,10 +31,13 @@ ARG KEEP_DAYS | |
| COPY --chown=nginx:nginx docker/nginx.conf /etc/nginx/nginx.conf | ||
| COPY --chown=nginx:nginx docker/headers /usr/share/nginx/html/headers | ||
| COPY --chown=nginx:nginx docker/file_handler.sh / | ||
| COPY docker/docker-entrypoint.sh / | ||
| COPY --from=builder --chown=nginx:nginx /app/dist /app/config.js.tmpl /usr/share/nginx/html/bothub-webapp/ | ||
| COPY --from=old_css --chown=nginx:nginx /usr/share/nginx/html/bothub-webapp/assets/all.tx[t] /usr/share/nginx/html/bothub-webapp/assets/*.css /usr/share/nginx/html/bothub-webapp/assets/ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original |
||
|
|
||
| COPY docker/docker-entrypoint.sh / | ||
|
|
||
| COPY --from=builder --chown=nginx:nginx /app/dist /usr/share/nginx/html/bothub-webapp/ | ||
|
|
||
| RUN cd /usr/share/nginx/html/bothub-webapp/ \ | ||
| && ln -s /tmp/config.js \ | ||
| && /file_handler.sh css | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that the order of
COPYcommands has been changed. Previously,docker-entrypoint.shwas copied before the application files. Now, it's being copied after some of the application files. Can you confirm that this change in order doesn't affect the application's startup or behavior? If the entrypoint script relies on any of the files copied in the subsequent steps, this could lead to issues.