Skip to content

Commit

Permalink
修改Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
icowan committed Feb 12, 2020
1 parent 0489f49 commit 16df149
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
Expand Up @@ -10,7 +10,7 @@ RUN cd /go/src/${BUILDPATH} && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go install
FROM alpine:latest

COPY --from=build-env /go/bin/blog /go/bin/blog
COPY ./views /go/bin/
COPY ./static /go/bin/
COPY ./views /go/bin/views
COPY ./static /go/bin/static
WORKDIR /go/bin/
CMD ["/go/bin/blog", "start", "-p", ":8080", "-c", "/etc/blog/app.cfg"]

0 comments on commit 16df149

Please sign in to comment.