Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Oct 28, 2024
1 parent 91e6339 commit c9568f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ WORKDIR /app

COPY . .

ENV CGO_ENABLED=1
ENV GOOS=linux

RUN apk add --no-cache gcc g++

RUN go build -o go-up cmd/go-up/main.go

EXPOSE 1234

CMD ["./go-up daemon"]
CMD ["./go-up", "daemon"]

0 comments on commit c9568f6

Please sign in to comment.