Browse Source

fix docker-compose

main
matthew 2 years ago
parent
commit
8cdaa3e086
  1. 1
      searching-front/Dockerfile
  2. 1
      searching-front/Dockerfile.watcher
  3. 3
      searching-front/package.json

1
searching-front/Dockerfile

@ -21,4 +21,5 @@ COPY . .
# ENV NEXT_TELEMETRY_DISABLED 1
RUN npm run build
RUN npm run migrate:prod
CMD ["npm", "run", "start"]

1
searching-front/Dockerfile.watcher

@ -21,4 +21,5 @@ COPY . .
# ENV NEXT_TELEMETRY_DISABLED 1
RUN npm run build
RUN npm run migrate:prod
CMD ["npm", "run", "watcher"]

3
searching-front/package.json

@ -11,7 +11,8 @@
"studio": "blitz prisma studio",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
"test": "jest",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"migrate:prod": "blitz prisma migrate deploy"
},
"prisma": {
"schema": "db/schema.prisma"

Loading…
Cancel
Save