Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Jun 26, 2021
1 parent a5db3e2 commit 7307dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/xservice/gogen/assets/project/Dockerfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ FROM alpine
RUN apk update --no-cache && apk add --no-cache ca-certificates tzdata
ENV TZ Asia/Shanghai
WORKDIR /app
COPY --from=builder /build/xservice/{{.Name}}/dist/{{.Name}}-linux-amd64/* /app
COPY --from=builder /build/xservice/dist/{{.Name}}-linux-amd64/ /app/
CMD ["./{{.Name}}"]

0 comments on commit 7307dda

Please sign in to comment.