Skip to content

Commit

Permalink
Fix Dockerfile the 7th
Browse files Browse the repository at this point in the history
  • Loading branch information
minisbett committed Nov 18, 2023
1 parent 75242ba commit 9c2e250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/runtime:7.0
WORKDIR /app
COPY --from=build /app/out .
ENV HUIS_BOT_ENV_FILE
ENV HUIS_BOT_ENV_FILE ""
CMD [ -f "$HUIS_BOT_ENV_FILE" ] && export $(grep -v '^#' "$HUIS_BOT_ENV_FILE" | xargs) && dotnet huisbot.dll || echo "Error: HUIS_BOT_ENV_FILE ('$HUIS_BOT_ENV_FILE') not found."

0 comments on commit 9c2e250

Please sign in to comment.