Spaces:
Running
Running
Commit ·
7e27f89
1
Parent(s): 287d2a3
fix: use gcr.io mirror to avoid Docker Hub rate limits
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Stage 1: Build the Go environment server
|
| 2 |
-
FROM golang:1.21 AS builder
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
COPY go.mod go.sum* ./
|
|
|
|
| 1 |
# Stage 1: Build the Go environment server
|
| 2 |
+
FROM mirror.gcr.io/library/golang:1.21-alpine AS builder
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
COPY go.mod go.sum* ./
|