mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 13:13:00 -05:00
Update 'Dockerfile'
Podman support
This commit is contained in:
parent
171857e8b4
commit
e73f32a0c0
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.20.3 as builder
|
||||
FROM docker.io/golang:1.20.3 as builder
|
||||
|
||||
# Create and change to the app directory.
|
||||
WORKDIR /app
|
||||
|
@ -9,7 +9,7 @@ COPY . ./
|
|||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o server
|
||||
|
||||
FROM alpine:3
|
||||
FROM docker.io/alpine:3
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
COPY --from=builder /app/server /server
|
||||
|
|
Loading…
Reference in a new issue