Add client to docker
This commit is contained in:
parent
82f53483b2
commit
4e557a7f06
|
@ -3,4 +3,5 @@
|
||||||
!/scripts/integrations/oracle/
|
!/scripts/integrations/oracle/
|
||||||
!/package.json
|
!/package.json
|
||||||
!/docker_run.sh
|
!/docker_run.sh
|
||||||
!/builder/
|
!/builder/
|
||||||
|
!/client/
|
|
@ -35,6 +35,7 @@ RUN apt-get remove -y --purge --auto-remove g++ make python \
|
||||||
COPY dist/ .
|
COPY dist/ .
|
||||||
COPY docker_run.sh .
|
COPY docker_run.sh .
|
||||||
COPY builder/ builder/
|
COPY builder/ builder/
|
||||||
|
COPY client/ client/
|
||||||
|
|
||||||
EXPOSE 4001
|
EXPOSE 4001
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rimraf dist/",
|
"prebuild": "rimraf dist/",
|
||||||
"build": "node ./scripts/build.js",
|
"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",
|
"check:types": "tsc -p tsconfig.build.json --noEmit",
|
||||||
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
||||||
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
|
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
|
||||||
|
|
Loading…
Reference in New Issue