-
Notifications
You must be signed in to change notification settings - Fork 14
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
Dev v2 #294
Open
JBrutus3
wants to merge
931
commits into
master_old
Choose a base branch
from
dev_v2
base: master_old
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dev v2 #294
Changes from 250 commits
Commits
Show all changes
931 commits
Select commit
Hold shift + click to select a range
1cc7e70
Integrated userroles with UI
b4a1304
Integrated user roles with UI
06af17f
Merge pull request #209 from wcmc-its/dev_v2_mrj4001
judygab 7aa3201
Integrated user roles with UI
1a1263a
Add Edit User functionality implementation
0dac2b0
Add Edit User functionality Implemention
9aa38ea
Merge pull request #210 from wcmc-its/dev_v2_mrj4001
mrj4001 3c0ba51
Fixed build issue
77db33f
Merge pull request #212 from wcmc-its/dev_v2_mrj4001
mrj4001 97156ae
Fixed Issues reported
a6559db
Fixed issue 5 under search pubMed
b0938aa
Fixed review comments in Add User
9a59400
Merge pull request #213 from wcmc-its/dev_v2_mrj4001
mrj4001 fa3e862
Fixed email,PMID Link,and institutions
8fcc0c4
Merge pull request #211 from wcmc-its/manage-users-mrj4001
judygab 1a1c031
Merge pull request #214 from wcmc-its/dev_v2_mrj4001
paulalbert1 16beff7
Merge branch 'dev_v2' into feature/manage-users
mrj4001 b6f952b
Merge pull request #215 from wcmc-its/feature/manage-users
judygab 2ca8abb
Fixed build issue
fafac99
Fixed build issue
51095f1
Merge pull request #216 from wcmc-its/dev_v2_mrj4001
mrj4001 460ae68
Fixed broken link for List users
59bdde2
Merge pull request #217 from wcmc-its/dev_v2_mrj4001
mrj4001 90541df
Fixed Update searching behavior and Search doesnt return records appa…
1af6c0c
Merge pull request #218 from wcmc-its/dev_v2_mrj4001
mrj4001 677cdbe
Fixed issues reported on wiki
251439c
Merge pull request #219 from wcmc-its/dev_v2_mrj4001
mrj4001 0f8745d
Fixed issue reported on the wiki by paul
5b0c9a1
Merge pull request #220 from wcmc-its/dev_v2_mrj4001
mrj4001 98ae4ce
Fixed issues reported on wiki
5380224
Merge pull request #221 from wcmc-its/dev_v2_mrj4001
mrj4001 44bdf5c
saml authentication
0291a64
Merge pull request #222 from wcmc-its/dev_v2_mrj4001
mrj4001 d7d3384
saml testing
c4d712e
Merge pull request #223 from wcmc-its/dev_v2_mrj4001
mrj4001 e073f81
SAML redirection
0cdc586
Merge pull request #224 from wcmc-its/dev_v2_mrj4001
mrj4001 de60a34
SAML redirection
985d791
Merge pull request #225 from wcmc-its/dev_v2_mrj4001
mrj4001 651b001
SAML redirection testing
09e6e24
Merge pull request #226 from wcmc-its/dev_v2_mrj4001
mrj4001 385888c
Added logs to SAML Redirection
5bf4170
Merge pull request #227 from wcmc-its/dev_v2_mrj4001
mrj4001 e97d05f
SAML redirection
8c34525
Merge pull request #228 from wcmc-its/dev_v2_mrj4001
mrj4001 a4e702d
Redirection for SAML
58e08f1
Merge pull request #229 from wcmc-its/dev_v2_mrj4001
mrj4001 67cc2f0
SAML Redirection
e23e375
Merge pull request #230 from wcmc-its/dev_v2_mrj4001
mrj4001 9e7f1d4
SAML Redirection changes
f09f6d5
SAML redirection
af2313f
removed unnecessary code
6591336
Merge pull request #231 from wcmc-its/dev_v2_mrj4001
mrj4001 57f1564
SAML Redirection
3b005a3
Merge pull request #232 from wcmc-its/dev_v2_mrj4001
mrj4001 786c972
SAML redirection
2f35096
Merge pull request #233 from wcmc-its/dev_v2_mrj4001
mrj4001 61fd205
SAML Redirection
dc90396
Merge pull request #234 from wcmc-its/dev_v2_mrj4001
mrj4001 1e4151f
SAML Redirection
4812220
Merge pull request #235 from wcmc-its/dev_v2_mrj4001
mrj4001 0f2d9db
Fixed SAML redirection issue
fa8bead
Merge pull request #236 from wcmc-its/dev_v2_mrj4001
mrj4001 dc4f6ff
Issues resolved with roles
ee50d69
Merge pull request #237 from wcmc-its/dev_v2_mrj4001
mrj4001 b1646df
build error fix
37faa9f
Merge pull request #238 from wcmc-its/dev_v2_mrj4001
mrj4001 3ddd443
Fixed build issue
5928df8
Merge pull request #239 from wcmc-its/dev_v2_mrj4001
mrj4001 8237d1a
Fixed role issue
2fa8756
Merge pull request #240 from wcmc-its/dev_v2_mrj4001
mrj4001 944cae2
Fixed issues reported on Wiki
7b4e1fc
Merge pull request #241 from wcmc-its/dev_v2_mrj4001
mrj4001 48f9391
Fixed issues reported on Wiki
72f2b45
Merge pull request #242 from wcmc-its/dev_v2_mrj4001
mrj4001 bba9338
Fixed issues reported on the wiki
874727f
Merge pull request #243 from wcmc-its/dev_v2_mrj4001
mrj4001 3070ce7
Fixed issues reported on Wiki
5c50303
Merge pull request #244 from wcmc-its/dev_v2_mrj4001
mrj4001 5b58451
Fixed issues reported on Wiki
2dcb833
Merge pull request #245 from wcmc-its/dev_v2_mrj4001
mrj4001 70b1600
Fixed issues reported on wiki
029d5ac
Merge pull request #246 from wcmc-its/dev_v2_mrj4001
mrj4001 f2a065d
Fixed few incomplete issues from wiki
1312c9a
Merge pull request #247 from wcmc-its/dev_v2_mrj4001
mrj4001 bbe1016
Fixed issues reported on wiki
482a4a4
Merge pull request #248 from wcmc-its/dev_v2_mrj4001
mrj4001 da8f91a
Changes made to improve reports performance
8ec0e42
Merge pull request #249 from wcmc-its/dev_v2_mrj4001
mrj4001 749998a
Changes made to improve reports performance
a3ec8a7
Merge pull request #250 from wcmc-its/dev_v2_mrj4001
mrj4001 ed2dd67
included only required columns..
mrj4001 9ac339a
Included only required attributes.
mrj4001 b3c6561
Fix to prevent unknown column in SQL
7267f4b
Merge pull request #251 from wcmc-its/dev_v2_mrj4001
mrj4001 79c651b
Fix to prevent unknown column in SQL
bb74a90
Merge pull request #252 from wcmc-its/dev_v2_mrj4001
mrj4001 999862e
Fixed issues reported on wiki
357972e
Fixed reported issue on wiki
97b08e7
Merge pull request #253 from wcmc-its/dev_v2_mrj4001
mrj4001 be4e00e
Fixed reported issue on wiki
7ffcba5
Fixed issues reported on wiki
bb70e12
Fixed issue on wiki
94c9a1f
Fixed issues reported on wiki
fd9274f
Fixed issues reported on wiki
aa1041a
Merge pull request #254 from wcmc-its/dev_v2_mrj4001
mrj4001 46e0d2a
Fixed issues reported on wiki
4829389
Merge pull request #255 from wcmc-its/dev_v2_mrj4001
mrj4001 181e947
Fixed issues reported on wiki
814f49d
Merge pull request #256 from wcmc-its/dev_v2_mrj4001
mrj4001 ca3719f
Fixed issues reported on wiki
f78902f
Merge pull request #257 from wcmc-its/dev_v2_mrj4001
mrj4001 344361f
Fixed issues reported on wiki
cd450d3
Merge pull request #258 from wcmc-its/dev_v2_mrj4001
mrj4001 ef87716
Fixed authorization issue
5e55c89
Merge pull request #259 from wcmc-its/dev_v2_mrj4001
mrj4001 6f4198a
Fixed authorization issue
95133e0
Merge pull request #260 from wcmc-its/dev_v2_mrj4001
mrj4001 12874d3
Fixed Report sorting issue
67fee2e
Merge pull request #261 from wcmc-its/dev_v2_mrj4001
mrj4001 ea379ea
Added db search functionality in Manage users and Fixed authors selec…
c734d8e
Merge pull request #262 from wcmc-its/dev_v2_mrj4001
mrj4001 6b6a3cc
debugging email authentication and authorization
8960e5d
Merge pull request #263 from wcmc-its/dev_v2_mrj4001
mrj4001 e87bd76
debugging email authentication and authorization
f678e30
Merge pull request #264 from wcmc-its/dev_v2_mrj4001
mrj4001 5290bca
debugging email authentication and authorization
ea2bed4
Merge pull request #265 from wcmc-its/dev_v2_mrj4001
mrj4001 7a2da43
debugging email authentication and authorization
6938280
Merge pull request #266 from wcmc-its/dev_v2_mrj4001
mrj4001 daca946
debugging email authentication and authorization
8514278
Merge pull request #267 from wcmc-its/dev_v2_mrj4001
mrj4001 964c2bc
debugging email authentication and authorization
f1cfd39
debugging email authentication and authorization
478873d
Merge pull request #268 from wcmc-its/dev_v2_mrj4001
mrj4001 069b5e0
debugging email authentication and authorization
51de8af
Merge pull request #270 from wcmc-its/dev_v2_mrj4001
mrj4001 4a32536
debugging email authentication and authorization
fd97c77
Merge pull request #271 from wcmc-its/dev_v2_mrj4001
mrj4001 910e248
debugging email authentication and authorization
12d73ec
Merge pull request #272 from wcmc-its/dev_v2_mrj4001
mrj4001 1640853
debugging email authentication and authorization
9e4ac60
Merge pull request #273 from wcmc-its/dev_v2_mrj4001
mrj4001 2d96269
debugging email authentication and authorization
1179e8e
Merge pull request #274 from wcmc-its/dev_v2_mrj4001
mrj4001 cccac73
debugging email authentication and authorization
6ecdb87
Merge pull request #275 from wcmc-its/dev_v2_mrj4001
mrj4001 34cfd0b
debugging email authentication and authorization
ce9c699
debugging email authentication and authorization
fcf4468
debugging email authentication and authorization
a49a885
Merge pull request #276 from wcmc-its/dev_v2_mrj4001
mrj4001 252882d
debugging email authentication and authorization
adc4158
Merge pull request #277 from wcmc-its/dev_v2_mrj4001
mrj4001 d45b8d2
debugging email authentication and authorization
b5cb54b
Merge pull request #278 from wcmc-its/dev_v2_mrj4001
mrj4001 c818c5c
debugging email authentication and authorization
0b2d86f
Merge pull request #279 from wcmc-its/dev_v2_mrj4001
mrj4001 020a9fd
debugging email authentication and authorization
01aedf5
Merge pull request #280 from wcmc-its/dev_v2_mrj4001
mrj4001 a8ce127
debugging email authentication and authorization
972b7b5
Merge pull request #281 from wcmc-its/dev_v2_mrj4001
mrj4001 92cf404
debugging email authentication and authorization
edaeabc
Merge pull request #282 from wcmc-its/dev_v2_mrj4001
mrj4001 b0ca5cd
debugging email authentication and authorization
70edab4
Merge pull request #283 from wcmc-its/dev_v2_mrj4001
mrj4001 292fcc7
debugging email authentication and authorization
bc5a1e2
Merge pull request #284 from wcmc-its/dev_v2_mrj4001
mrj4001 1a1796d
debugging email authentication and authorization
5a97bc7
Merge pull request #285 from wcmc-its/dev_v2_mrj4001
mrj4001 e10fd10
debugging email authentication and authorization
5e93fde
Merge pull request #286 from wcmc-its/dev_v2_mrj4001
mrj4001 764313a
debugging email authentication and authorization
4f5f11e
Merge pull request #287 from wcmc-its/dev_v2_mrj4001
mrj4001 d4b491b
debugging email authentication and authorization
311bfda
Merge pull request #288 from wcmc-its/dev_v2_mrj4001
mrj4001 96f2b0b
debugging email authentication and authorization
8b0ab2a
Merge pull request #289 from wcmc-its/dev_v2_mrj4001
mrj4001 52ab96e
Fixed date filter rendering issue and authors dropdown and h-index
ed583de
Merge pull request #290 from wcmc-its/dev_v2_mrj4001
mrj4001 bb4f9f6
Added images, updated README
paulalbert1 b738505
Update README.md
paulalbert1 415d052
Update README.md
paulalbert1 f8ac9cc
Update README.md
paulalbert1 7251ae2
Update README.md
paulalbert1 eff294f
Update README.md
paulalbert1 418083c
Update README.md
paulalbert1 f5e21cd
Update README.md
paulalbert1 a94866d
Added configuration changes and few other issues in report
3e58fa6
Added configuration changes and few other issues in report
6a00a4b
Added configuration changes and few other issues in report
def1447
Merge pull request #291 from wcmc-its/dev_v2_mrj4001
mrj4001 aef17f2
Updated package json
mrj4001 181c933
Update README.md
paulalbert1 4234156
Added configuration changes and few other issues in report
a8f3c27
Merge pull request #292 from wcmc-its/dev_v2_mrj4001
mrj4001 278b277
More changes to Admin configurations
9c60a76
Fixed ViewProfile issue
08f4fcc
Merge pull request #293 from wcmc-its/dev_v2_mrj4001
mrj4001 0c57ec0
Update README.md
paulalbert1 8b8360d
Fixed issues reported on wiki and code review comments as well
3981625
Merge pull request #295 from wcmc-its/dev_v2_mrj4001
mrj4001 4b20b9f
reverted redirection code curateself as it needs to fixed for other r…
261436c
Merge pull request #296 from wcmc-its/dev_v2_mrj4001
mrj4001 b835c90
removed commented code
b360352
Fixed issue for reprots
f583688
Merge pull request #297 from wcmc-its/dev_v2_mrj4001
mrj4001 cdd6dce
Removed all console statements
11edd94
Removed all console statements
7841716
Merge pull request #298 from wcmc-its/dev_v2_mrj4001
mrj4001 dd0e787
Fixed code review comments
1eaf49e
Merge pull request #300 from wcmc-its/dev_v2_mrj4001
mrj4001 7eb57f6
Fixed code review comments
31a25da
Merge pull request #304 from wcmc-its/dev_v2_mrj4001
mrj4001 1463e8e
Fixed issues reported in wiki
6d7f702
Merge pull request #305 from wcmc-its/dev_v2_mrj4001
mrj4001 6381312
Corrected condition in adminSettings
1b883f1
Fixed query issue for organization filter and hiding unneccessary sec…
537193d
Merge pull request #306 from wcmc-its/dev_v2_mrj4001
mrj4001 21e970f
Fixed issues reported on wiki
b552bae
Merge pull request #307 from wcmc-its/dev_v2_mrj4001
mrj4001 924d600
Fixed issues for RTF export and display Rank for the export article a…
097be62
Fixed issues for RTF export and display Rank for the export article a…
94b3700
Fixed issues reported on wiki
16f0af5
Merge pull request #315 from wcmc-its/dev_v2_mrj4001
mrj4001 143b846
Fixed issue reported on wiki
b0197a1
Fixed issue reported on wiki
16ea547
Fixed issues reported on wiki
abc3bb3
Fixed issues reported on wiki
2406f33
Fixed issues reported on wiki
bf5e006
Merge pull request #322 from wcmc-its/dev_v2_mrj4001
mrj4001 7eaa188
Corrected small code fix
fa94f53
Merge pull request #324 from wcmc-its/dev_v2_mrj4001
mrj4001 04d72c0
Fixed issues reported on wiki and integrated middleware for the redir…
20a1370
Merge pull request #326 from wcmc-its/dev_v2_mrj4001
mrj4001 bec8418
Fixed Node.js library issue with Edge
d3f9bfb
Merge pull request #328 from wcmc-its/dev_v2_mrj4001
mrj4001 47c757c
Fixed Node.js library issue with Edge
af25b1f
Merge pull request #330 from wcmc-its/dev_v2_mrj4001
mrj4001 5ae42b3
Fixed Node.js library issue with Edge
83aae66
Merge pull request #332 from wcmc-its/dev_v2_mrj4001
mrj4001 0e66fd0
Fixed issue reported in teams chat
b420675
Merge pull request #334 from wcmc-its/dev_v2_mrj4001
mrj4001 f687716
Fixed Node.js library issue with Edge
b3c74d4
Merge pull request #336 from wcmc-its/dev_v2_mrj4001
mrj4001 52b36ae
Trying from different folders
053a6fc
Merge pull request #338 from wcmc-its/dev_v2_mrj4001
mrj4001 3488224
Trying from different folders
603b61c
Merge pull request #340 from wcmc-its/dev_v2_mrj4001
mrj4001 e7138ec
Trying from different folders
cef8f72
Merge pull request #342 from wcmc-its/dev_v2_mrj4001
mrj4001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains 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,3 @@ | ||
node_modules/* | ||
client/node_modules/* | ||
package-lock.json | ||
client/package-lock.json | ||
node_modules | ||
.next | ||
.vscode |
This file contains 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains 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,67 +1,39 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
# testing | ||
/coverage | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
# production | ||
/build | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# dotenv environment variables file | ||
# local env files | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# next.js build output | ||
.next | ||
|
||
reciter-pub-manager.code-workspace | ||
|
||
.DS_Store | ||
# vercel | ||
.vercel | ||
node_modules | ||
|
||
package-lock.json | ||
/config/local.js | ||
/config/certs |
This file contains 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch via NPM", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"run", | ||
"dev" | ||
], | ||
"runtimeExecutable": "npm", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"type": "pwa-node", | ||
"console": "integratedTerminal", | ||
} | ||
] | ||
} |
This file contains 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,20 +1,59 @@ | ||
FROM node:12-slim | ||
# Install dependencies only when needed | ||
FROM node:14.16.0-alpine AS deps | ||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. | ||
RUN apk add --no-cache libc6-compat | ||
WORKDIR /app | ||
RUN env | ||
ARG RECITER_DB_HOST | ||
ARG RECITER_DB_NAME | ||
ARG RECITER_DB_USERNAME | ||
ARG RECITER_DB_PASSWORD | ||
ARG NEXT_PUBLIC_RECITER_API_KEY | ||
ARG NEXT_PUBLIC_RECITER_TOKEN_SECRET | ||
ARG NEXT_PUBLIC_RECITER_BACKEND_API_KEY=test | ||
COPY package.json package-lock.json ./ | ||
RUN npm install --frozen-lockfile | ||
|
||
RUN apt-get -y update && apt-get -y upgrade | ||
RUN apt-get install -y ca-certificates wget | ||
|
||
# Install server dependencies | ||
WORKDIR /usr/src/app | ||
# Rebuild the source code only when needed | ||
FROM node:14.16.0-alpine AS builder | ||
WORKDIR /app | ||
COPY . . | ||
RUN npm install --only=production | ||
COPY --from=deps /app/node_modules ./node_modules | ||
ARG RECITER_DB_HOST | ||
ARG RECITER_DB_NAME | ||
ARG RECITER_DB_USERNAME | ||
ARG RECITER_DB_PASSWORD | ||
ARG NEXT_PUBLIC_RECITER_API_KEY | ||
ARG NEXT_PUBLIC_RECITER_TOKEN_SECRET | ||
ARG NEXT_PUBLIC_RECITER_BACKEND_API_KEY=test | ||
RUN env | ||
RUN npm run build && npm install --production --ignore-scripts --prefer-offline | ||
|
||
# Production image, copy all the files and run next | ||
FROM node:14.16.0-alpine AS runner | ||
WORKDIR /app | ||
|
||
ENV NODE_ENV production | ||
|
||
RUN addgroup -g 1001 -S nodejs | ||
RUN adduser -S nextjs -u 1001 | ||
|
||
# You only need to copy next.config.js if you are NOT using the default configuration | ||
COPY --from=builder /app/next.config.js ./ | ||
COPY --from=builder /app/public ./public | ||
COPY --from=builder /app/config /app/config/ | ||
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next | ||
COPY --from=builder /app/node_modules ./node_modules | ||
COPY --from=builder /app/package.json ./package.json | ||
RUN ls -lrt | ||
|
||
USER nextjs | ||
|
||
# Install client dependencies | ||
WORKDIR /usr/src/app/client | ||
RUN npm install --only=production | ||
RUN npm run build | ||
RUN mv build/index.html build/app.html | ||
EXPOSE 3000 | ||
|
||
WORKDIR /usr/src/app | ||
# Next.js collects completely anonymous telemetry data about general usage. | ||
# Learn more here: https://nextjs.org/telemetry | ||
# Uncomment the following line in case you want to disable telemetry. | ||
ENV NEXT_TELEMETRY_DISABLED 1 | ||
|
||
EXPOSE 8081 | ||
CMD [ "npm", "start" ] | ||
CMD ["npm", "run", "start"] |
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.
might be worth it to upgrade this node version while you can