Skip to content

Commit

Permalink
simple da server dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
thloyi committed Jun 24, 2024
1 parent af3573b commit 07502ce
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM golang:alpine AS builder
ENV CGO_ENABLED 0
ENV GOOS linux
WORKDIR /build
COPY . .
RUN go mod download
RUN cd
RUN cd daserver/cmd && go build -o /build/da-server

FROM alpine
RUN apk update --no-cache
RUN apk add --no-cache ca-certificates
RUN apk add --no-cache tzdata
ENV TZ UTC
WORKDIR /app
COPY --from=builder /build/da-server /app/da-server
ENTRYPOINT ["/app/da-server"]
Empty file removed daserver/cmd/Dockerfile
Empty file.
6 changes: 0 additions & 6 deletions daserver/genqlient.yaml

This file was deleted.

0 comments on commit 07502ce

Please sign in to comment.