-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from gandlafbtc/version-0.1.10
Version 0.1.10
- Loading branch information
Showing
22 changed files
with
627 additions
and
710 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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
FROM node:current-alpine | ||
FROM node:alpine as build | ||
WORKDIR /nutstash | ||
COPY . . | ||
COPY ./http/app.html ./src/app.html | ||
COPY ./http/svelte.config.js ./svelte.config.js | ||
COPY ./http/asmcrypto.all.es5.min.js ./static/asmcrypto.all.es5.min.js | ||
COPY ./http/webcrypto-liner.shim.min.js ./static/webcrypto-liner.shim.min.js | ||
|
||
COPY --chown=1000:1000 . /app | ||
RUN npm i | ||
RUN npm run build | ||
|
||
RUN cd /app \ | ||
&& npm install \ | ||
&& npm run build | ||
FROM node:alpine as prod | ||
COPY ./package*.json ./ | ||
RUN npm ci --production --silent --ignore-scripts | ||
COPY --from=build /nutstash/build ./build | ||
COPY --from=build /nutstash/docker-startup.sh ./build | ||
|
||
LABEL org.opencontainers.image.source https://github.com/gandlafbtc/nutstash-wallet | ||
|
||
WORKDIR /app | ||
|
||
EXPOSE 4173/tcp | ||
|
||
CMD [ "npm", "run", "preview", "--", "--host" ] | ||
EXPOSE 3000/tcp | ||
USER node | ||
CMD [ "/bin/sh", "build/docker-startup.sh" ] |
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,2 @@ | ||
#!/bin/bash | ||
node ./build/ |
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,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" data-theme="dark"> | ||
<head> | ||
<link rel="manifest" href="/manifest.json" /> | ||
<link rel="apple-touch-icon" href="/maskable_icon_x192.png" /> | ||
<meta name="theme-color" content="#212121" /> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<script src="asmcrypto.all.es5.min.js"></script> | ||
<script src="webcrypto-liner.shim.min.js"></script> | ||
|
||
%sveltekit.head% | ||
</head> | ||
<body data-sveltekit-preload-data="hover"> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import adapter from '@sveltejs/adapter-node'; | ||
import { vitePreprocess } from '@sveltejs/kit/vite'; | ||
|
||
/** @type {import('@sveltejs/kit').Config} */ | ||
const config = { | ||
preprocess: vitePreprocess(), | ||
|
||
kit: { | ||
adapter: adapter() | ||
} | ||
}; | ||
|
||
export default config; |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
5b5edb0
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.
Successfully deployed to the following URLs:
cashu-wallet – ./
cashu-wallet-git-main-gandlaf21.vercel.app
cashu-wallet-gandlaf21.vercel.app
cashu-wallet.vercel.app
wallet.nutstash.app