-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple features, fixes and UI/UX improvements. See the version update for more details.
- Loading branch information
Showing
138 changed files
with
8,509 additions
and
5,459 deletions.
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
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
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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,23 +1,29 @@ | ||
FROM node:16-alpine | ||
FROM node:16 AS builder | ||
|
||
# Create app directory | ||
WORKDIR /app | ||
|
||
# Copy source (see .dockerignore) | ||
COPY . . | ||
# Copy dependencies files | ||
COPY package.json yarn.lock ./ | ||
|
||
# Install dependencies | ||
RUN yarn --frozen-lockfile | ||
RUN yarn | ||
|
||
# Copy source (see .dockerignore) | ||
COPY . . | ||
|
||
# Build | ||
RUN yarn build | ||
|
||
# Automatically leverage output traces to reduce image size | ||
# https://nextjs.org/docs/advanced-features/output-file-tracing | ||
RUN mv next.config.js .next/standalone/ | ||
RUN mv public .next/standalone/ | ||
RUN mv .next/static .next/standalone/.next/ | ||
|
||
WORKDIR /app/.next/standalone | ||
FROM node:16.19.0-alpine3.17 AS runner | ||
|
||
WORKDIR /app | ||
|
||
ENV PORT 8080 | ||
# Automatically leverage output traces to reduce image size | ||
# https://nextjs.org/docs/advanced-features/output-file-tracing | ||
COPY --from=builder /app/.next/standalone ./standalone | ||
COPY --from=builder /app/public ./standalone/public | ||
COPY --from=builder /app/.next/static ./standalone/.next/static | ||
|
||
CMD ["node", "server.js"] | ||
CMD ["node", "./standalone/server.js"] |
Oops, something went wrong.