Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saklani committed Feb 22, 2024
1 parent 86a9c5f commit 2f960d3
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 2f960d3

Please sign in to comment.