-
Notifications
You must be signed in to change notification settings - Fork 0
#233 Upload Reports Modal #260
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?
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 |
|---|---|---|
| @@ -1,22 +1,17 @@ | ||
| FROM node:20-alpine | ||
|
|
||
| WORKDIR /app | ||
|
Collaborator
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. was the docker file broken without these changes?
Contributor
Author
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. Yes, it couldn't find the |
||
|
|
||
| # Copy package files | ||
| COPY package*.json ./ | ||
| WORKDIR /shared/types | ||
| COPY shared/types/package.json ./ | ||
| COPY shared/types/ ./ | ||
|
|
||
| # Install dependencies | ||
| RUN npm install | ||
|
|
||
| # Copy source files | ||
| COPY . . | ||
| WORKDIR /app | ||
| COPY apps/backend/lambdas/auth/package*.json ./ | ||
| RUN npm install --no-package-lock | ||
| COPY apps/backend/lambdas/auth/ . | ||
|
|
||
| # Expose port | ||
| EXPOSE 3000 | ||
|
|
||
| # Health check | ||
| HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ | ||
| CMD wget --no-verbose --tries=1 --spider http://localhost:3000/auth/health || exit 1 | ||
|
|
||
| # Start the dev server | ||
| CMD ["npm", "run", "dev"] | ||
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.
I think wed want this ./lambdas/auth since wed run this from backend