1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix integration tests

This commit is contained in:
Adria Navarro 2023-05-19 18:00:53 +02:00
parent cff9c26ef2
commit c7bbd9be2f
6 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ LABEL com.centurylinklabs.watchtower.lifecycle.pre-update="scripts/watchtower-ho
LABEL com.centurylinklabs.watchtower.lifecycle.post-update="scripts/watchtower-hooks/post-update.sh"
LABEL com.centurylinklabs.watchtower.lifecycle.post-check="scripts/watchtower-hooks/post-check.sh"
WORKDIR /app
WORKDIR /app/dist
ENV PORT=4001
ENV COUCH_DB_URL=https://couchdb.budi.live:5984

View file

@ -21,7 +21,7 @@
"predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client && yarn build",
"build:docker": "yarn predocker && docker build . -t app-service --label version=$BUDIBASE_RELEASE_VERSION",
"build:docs": "node ./scripts/docs/generate.js open",
"run:docker": "node index.js",
"run:docker": "node dist/index.js",
"run:docker:cluster": "pm2-runtime start pm2.config.js",
"dev:stack:up": "node scripts/dev/manage.js up",
"dev:stack:down": "node scripts/dev/manage.js down",

View file

@ -1,7 +1,7 @@
module.exports = {
apps: [
{
script: "index.js",
script: "./dist/index.js",
instances: "max",
exec_mode: "cluster",
},

View file

@ -5,7 +5,7 @@ LABEL com.centurylinklabs.watchtower.lifecycle.pre-update="scripts/watchtower-ho
LABEL com.centurylinklabs.watchtower.lifecycle.post-update="scripts/watchtower-hooks/post-update.sh"
LABEL com.centurylinklabs.watchtower.lifecycle.post-check="scripts/watchtower-hooks/post-check.sh"
WORKDIR /app
WORKDIR /app/dist
# handle node-gyp
RUN apk add --no-cache --virtual .gyp python3 make g++

View file

@ -16,7 +16,7 @@
"build": "cd ../.. && nx build @budibase/worker",
"check:types": "tsc -p tsconfig.build.json --noEmit",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"run:docker": "node index.cjs",
"run:docker": "node dist/index.cjs",
"debug": "yarn build && node --expose-gc --inspect=9223 dist/index.cjs",
"run:docker:cluster": "pm2-runtime start pm2.config.js",
"predocker": "yarn build",

View file

@ -1,7 +1,7 @@
module.exports = {
apps: [
{
script: "./index.cjs",
script: "./dist/index.cjs",
instances: "max",
exec_mode: "cluster",
},