1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00

Add client to docker

This commit is contained in:
Adria Navarro 2023-05-19 16:59:09 +02:00
parent 82f53483b2
commit 4e557a7f06
3 changed files with 4 additions and 1 deletions

View file

@ -3,4 +3,5 @@
!/scripts/integrations/oracle/
!/package.json
!/docker_run.sh
!/builder/
!/builder/
!/client/

View file

@ -35,6 +35,7 @@ RUN apt-get remove -y --purge --auto-remove g++ make python \
COPY dist/ .
COPY docker_run.sh .
COPY builder/ builder/
COPY client/ client/
EXPOSE 4001

View file

@ -11,6 +11,7 @@
"scripts": {
"prebuild": "rimraf dist/",
"build": "node ./scripts/build.js",
"postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
"check:types": "tsc -p tsconfig.build.json --noEmit",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",