Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
plaisted authored Dec 30, 2021
2 parents 0c6c111 + 5d2482f commit 9f295f6
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM golang:1.17 as builder

WORKDIR ${GOPATH:-/go}/src/temporalite

COPY . .
RUN go mod download
RUN go get -d -v ./...

RUN go build -o ${GOPATH:-/go}/bin/ ${GOPATH:-/go}/src/temporalite/cmd/temporalite

FROM gcr.io/distroless/base-debian11

COPY --from=builder ${GOPATH:-/go}/bin/temporalite /
EXPOSE 7233

ENTRYPOINT ["/temporalite", "start", "--ephemeral", "-n", "default", "--ip" , "0.0.0.0"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
github.com/urfave/cli/v2 v2.3.0
go.temporal.io/sdk v1.11.1
go.temporal.io/server v1.14.0
go.temporal.io/server v1.14.1
go.uber.org/zap v1.19.1
)

Expand Down
Loading

0 comments on commit 9f295f6

Please sign in to comment.