From 2c7d8d6d01cb7c59160799736e51e3daf58a1774 Mon Sep 17 00:00:00 2001 From: Stanislaw <62724833+BoberITman@users.noreply.github.com> Date: Sun, 26 Jun 2022 19:48:11 +0200 Subject: [PATCH] docker hotfix --- .github/workflows/deploy.yaml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4f8d0f4..c78fdfb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,5 +19,5 @@ jobs: docker rm muzykant || true docker stop muzykant2 || true docker rm muzykant2 || true - docker run -d -e "DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN_1 }}" -e "PREFIX=";" --restart always --name muzykant ${{ github.repository }} - docker run -d -e "DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN_2 }}" -e "PREFIX=":" --restart always --name muzykant2 ${{ github.repository }} + docker run -d -e "DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN_1 }}" -e "PREFIX= ;" --restart always --name muzykant ${{ github.repository }} + docker run -d -e "DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN_2 }}" -e "PREFIX= :" --restart always --name muzykant2 ${{ github.repository }} diff --git a/Dockerfile b/Dockerfile index b4e9620..8269006 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ FROM node:16.10.0 WORKDIR /app COPY ./ ./ RUN npm install -CMD ["node", "index.js"] \ No newline at end of file +CMD ["node", "main.js"] \ No newline at end of file