-
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
David Rauh
committed
Apr 13, 2023
1 parent
a5bc9dc
commit dd8a000
Showing
4 changed files
with
244 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM node:19-alpine AS build | ||
|
||
WORKDIR /app | ||
|
||
COPY web-frontend/package.json ./ | ||
RUN npm install | ||
COPY web-frontend/static ./static | ||
COPY web-frontend/src ./src | ||
COPY web-frontend/svelte.config.js web-frontend/tsconfig.json web-frontend/vite.config.ts ./ | ||
RUN npm run build | ||
|
||
FROM node:19-alpine | ||
COPY --from=build /app/package.json /app/package-lock.json ./ | ||
RUN npm ci --omit dev | ||
COPY --from=build /app/build ./build | ||
ENTRYPOINT ["node", "build"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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