Compare commits

...

2 Commits

2 changed files with 3 additions and 3 deletions

View File

@@ -10,8 +10,8 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY cmd/ ./
COPY internal ./
COPY cmd /app/cmd/
COPY internal /app/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go

View File

@@ -22,7 +22,7 @@ var Config *config
func Load() *config {
err := godotenv.Load()
if err != nil {
panic("Error loading .env file")
slog.Error("Error loading .env file - Using environment variables instead")
}
// Get mastodon instance