diff --git a/.gitignore b/.gitignore index d5526ab..c383b6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. +.env + #rider .idea/ diff --git a/Dockerfile b/Dockerfile index 374a976..e4de766 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,5 +15,6 @@ FROM base AS final WORKDIR /app COPY --from=build /app/publish . ENV DOTNET_EnableDiagnostics=0 -ENTRYPOINT ["dotnet", "PepperBot.dll"] +RUN pwd;ls -la +ENTRYPOINT ["dotnet", "/app/PepperBot.dll"] diff --git a/docker-compose.yml b/docker-compose.yml index dcf7b3c..486921b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.9" +version: '3.3' services: pepper-bot: build: @@ -8,8 +8,7 @@ services: environment: - TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN} - TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID} - - PEPPER_CLIENT_HEADER=${PEPPER_CLIENT_HEADER} volumes: - - ./data:/app + - ./data:/app/data restart: unless-stopped