Skip to content

Commit

Permalink
fix build erro
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic committed Nov 12, 2024
1 parent 06d2885 commit 4906d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.cron
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ USER cronuser
COPY ./swatscraper/go.mod ./swatscraper/go.sum ./
RUN go mod download

COPY --chown=cronuser:cronuser ./swatscraper/.env ./
COPY --chown=cronuser:cronuser ./scraper.env ./env
COPY --chown=cronuser:cronuser ./swatscraper/*.go ./

RUN GOCACHE=/app/.cache CGO_ENABLED=0 GOOS=linux go build -o /app/swatscraper
Expand Down

0 comments on commit 4906d42

Please sign in to comment.