Skip to content

Commit

Permalink
Merge pull request #93 from liteseed/main
Browse files Browse the repository at this point in the history
Update docker configuration
  • Loading branch information
zyjblockchain authored Feb 27, 2024
2 parents 4bfa7c1 + 5b943a5 commit 38af96d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM alpine:latest
FROM golang:latest
MAINTAINER sandy <[email protected]>

ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go

WORKDIR /arseeding
WORKDIR /app
COPY . .

VOLUME ["/arseeding/data"]
RUN go mod tidy
RUN go build -o ./build/arseeding ./cmd

COPY cmd/arseeding /arseeding/arseeding
EXPOSE 8080

ENTRYPOINT [ "/arseeding/arseeding" ]
CMD [ "./build/arseeding" ]

0 comments on commit 38af96d

Please sign in to comment.