-
Notifications
You must be signed in to change notification settings - Fork 16
Dev #1002
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
Closed
Closed
Dev #1002
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
246ec8b
chore: upgrade Node.js version and optimize Dockerfile; add .dockerig…
tonmoy-selise c17efc9
fix(construct): fixed layout issue and autofilling issue by browser i…
sangayt1997 707ab5d
Merge pull request #998 from SELISEdigitalplatforms/pre-dev
nuzattasnim 4ee9118
fix(construct): giving id to remove the sign in banner from cli
sangayt1997 6c3d3af
Merge pull request #1000 from SELISEdigitalplatforms/pre-dev
sangayt1997 ff7942d
fix(construct): resolve issue affecting the layout when we remove banner
sangayt1997 ce7eff5
fix(construct): resolve the banner removed content layout issues
sangayt1997 b6077fd
fix(construct): fixed layout issue when remove banner from cli
sangayt1997 f38a43b
Merge pull request #1001 from SELISEdigitalplatforms/pre-dev
sangayt1997 8646274
skip healthcheck
tonmoy-selise e29886d
Merge branch 'dev' into dockerfile-upgrade
tonmoy-selise 1009713
Merge pull request #995 from SELISEdigitalplatforms/dockerfile-upgrade
naymulhaque-selise be7a6c3
fix: align layout
nuzattasnim 0b23603
fix: navigate to login if signup disabled
nuzattasnim c04eda2
Merge branch 'dev' of https://github.com/SELISEdigitalplatforms/block…
nuzattasnim a0e8fbe
fix: align input field
nuzattasnim 4e0a834
fix: enhance divider condition
nuzattasnim f959213
fix: update env
nuzattasnim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,24 @@ | ||
| FROM node:21.7.0-alpine AS builder | ||
| FROM node:22-alpine AS builder | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| COPY package*.json ./ | ||
|
|
||
| RUN npm install | ||
| RUN npm ci | ||
|
|
||
| COPY . . | ||
|
|
||
| ARG ci_build | ||
|
|
||
| RUN mkdir -p /app/log | ||
|
|
||
| RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build:${ci_build} | ||
|
|
||
| FROM nginx:stable-alpine | ||
| FROM nginxinc/nginx-unprivileged:1.29-alpine | ||
|
|
||
| COPY --from=builder /app/build /usr/share/nginx/html | ||
|
|
||
| COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
| COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
|
|
||
| EXPOSE 8080 | ||
|
|
||
| # HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ | ||
| # CMD wget -qO- http://localhost:8080/ || exit 1 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| server { | ||
| listen 8080; | ||
| root /usr/share/nginx/html/; | ||
| server_tokens off; | ||
| client_max_body_size 200m; | ||
|
|
||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The health check was added but immediately commented out. Without it, the container orchestrator (Kubernetes, ECS, etc.) has no way to detect an unresponsive container and restart it. Uncomment or remove the comment block once the check is validated.