Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ id_rsa.pub
config
id_rsa
known_hosts
dist
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ COPY package-lock.json package-lock.json
COPY --chown=node:node ./cfg $APP_HOME/cfg
COPY --chown=node:node --from=build $APP_HOME/lib $APP_HOME/lib
COPY --chown=node:node --from=build $APP_HOME/handlebars $APP_HOME/handlebars
COPY --chown=node:node --from=build $APP_HOME/dist $APP_HOME/dist

EXPOSE 50051

Expand Down
1 change: 0 additions & 1 deletion esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ await esbuild.build({
minify: true,
treeShaking: true,
sourcemap: 'linked',
external: ['@platformatic/wasm-utils'],
plugins: [commonifierPlugin],
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"build:es": "node esbuild.mjs",
"build:clean": "rimraf lib",
"build": "npm-run-all lint build:clean build:es",
"postbuild": "mkdir -p dist && cp node_modules/@platformatic/wasm-utils/dist/native.wasm dist/",
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
},
"engines": {
Expand Down
Loading