Skip to content

Commit

Permalink
Give this another shot
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed Nov 11, 2023
1 parent 9a26318 commit 4e8bc4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/docker/Dockerfile.tripbot
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/build ./build
COPY --chown=node:node ./src/discord/assets/Futura.otf ./build/discord/assets/Futura.otf
COPY --chown=node:node ./src/prisma/ ./src/prisma
COPY --chown=node:node package*.json ./

# Generate prisma client
RUN npx prisma generate
Expand All @@ -124,4 +125,4 @@ RUN npx prisma generate --schema=./src/prisma/moodle/schema.prisma
USER node

# Start the bot using the production build
CMD ["pm2-runtime", "build/start.js"]
CMD npx prisma migrate deploy && pm2-runtime build/start.js

0 comments on commit 4e8bc4d

Please sign in to comment.