prisma fix

This commit is contained in:
Stanislaw
2022-07-02 17:20:56 +02:00
parent e22045b69a
commit 94650da46e
2 changed files with 1 additions and 1 deletions

View File

@@ -18,3 +18,4 @@ jobs:
docker stop ${{ github.event.repository.name }} || true
docker rm ${{ github.event.repository.name }} || true
docker run -d -e "DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}" -e "REDIS_TOKEN=${{ secrets.REDIS_TOKEN }}" -e "DATABASE_URL=${{ secrets.DATABASE_URL }}" --restart always --network BOT --name ${{ github.event.repository.name }} ${{ github.repository }}
docker exec bot npx prisma push

View File

@@ -6,5 +6,4 @@ RUN apt-get -y update
RUN apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
RUN npm install --build-from-source canvas
RUN npm install
RUN npx prisma db push
CMD ["node", "index.js"]