Compare commits
2 Commits
36aa4589f3
...
686eaec0ad
Author | SHA1 | Date | |
---|---|---|---|
686eaec0ad | |||
60a55e3ad8 |
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user