-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b781e13
commit 0b1be47
Showing
8 changed files
with
58 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM chainguard/node:latest-dev | ||
|
||
WORKDIR /app | ||
|
||
COPY --chown=node:node package.json package-lock.json *.html *.js* *.ts /app/ | ||
COPY --chown=node:node src /app/src | ||
COPY --chown=node:node server /app/server | ||
|
||
RUN ls -l \ | ||
&& npm install \ | ||
&& npm ci | ||
|
||
ENV NODE_ENV=production | ||
|
||
RUN ls -l \ | ||
&& npm run build --if-present \ | ||
&& cd /app/server \ | ||
&& npm ci \ | ||
&& cd .. \ | ||
&& ls -l | ||
|
||
FROM chainguard/node:latest | ||
COPY --from=0 /app/server /app | ||
COPY --from=0 /app/dist /app/dist | ||
|
||
CMD [ "server.js" ] |
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
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 |
---|---|---|
|
@@ -44,8 +44,6 @@ function Section(props: SectionProps) { | |
</Accordion> | ||
</Grid> | ||
) | ||
|
||
|
||
} | ||
|
||
export default Section; |
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,8 @@ | ||
|
||
function Version() { | ||
|
||
return <span>0.0.0</span> | ||
|
||
} | ||
|
||
export default Version |