Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
luzov authored Oct 24, 2024
1 parent 0697dc7 commit a0dcbda
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.23.2 AS builder
WORKDIR /go/src/github.com/YuCN0010/DeepLX
WORKDIR /go/src/github.com/luzov/DeepLX
COPY . .
RUN go get -d -v ./
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .
Expand All @@ -8,5 +8,5 @@ FROM alpine:latest
RUN apk add --no-cache tzdata
ENV TZ=Asia/Shanghai
WORKDIR /app
COPY --from=builder /go/src/github.com/YuCN0010/DeepLX/deeplx /app/deeplx
COPY --from=builder /go/src/github.com/luzov/DeepLX/deeplx /app/deeplx
CMD ["/app/deeplx"]

0 comments on commit a0dcbda

Please sign in to comment.