Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Appu <77108939+appujet@users.noreply.github.com>
  • Loading branch information
appujet authored Aug 1, 2024
1 parent 5ccf380 commit 80ad284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY tsconfig.json ./
# Copy prisma
COPY prisma ./prisma
# Generate Prisma client
RUN npx prisma generate
RUN npx prisma db push
# Build TypeScript
RUN npm run build

Expand All @@ -45,7 +45,7 @@ COPY --from=builder /opt/lavamusic/locales ./locales
RUN npm install --omit=dev

RUN npx prisma generate
RUN npx prisma migrate dev --name init
RUN npx prisma db push

# Ensure application.yml is a file, not a directory
RUN rm -rf /opt/lavamusic/application.yml && \
Expand Down

0 comments on commit 80ad284

Please sign in to comment.