Add client to docker
This commit is contained in:
parent
82f53483b2
commit
4e557a7f06
|
@ -3,4 +3,5 @@
|
|||
!/scripts/integrations/oracle/
|
||||
!/package.json
|
||||
!/docker_run.sh
|
||||
!/builder/
|
||||
!/builder/
|
||||
!/client/
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue