Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yuejunzhang authored Sep 4, 2023
1 parent f2e1a8e commit 686af80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM golang:1.20.3-alpine as builder
FROM golang:alpine as builder

WORKDIR /app

Expand All @@ -9,7 +9,7 @@ RUN go mod download
COPY . .
RUN go build -o /app/ChatGPT-To-API .

FROM scratch
FROM alpine:latest

WORKDIR /app

Expand Down

0 comments on commit 686af80

Please sign in to comment.