diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-11 10:52:29 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-11 10:52:29 -0600 |
| commit | 62255262c7edee46b98e4c69027df734300f5ae1 (patch) | |
| tree | ba3324ad3af89a25b687de321ed0c41e534ad67c /Dockerfile | |
| parent | 7397964dacef3649de4a3977fb04330181632e81 (diff) | |
chore: build sparkled in docker
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e2d2df0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +# syntax=docker/dockerfile:1 +FROM golang:1.24.0 +ENV BIND_ADDR=":8080" +ENV CGO_ENABLED=0 +WORKDIR /app +COPY . ./ +RUN go build -o /bin/sparkled ./cmd/sparkled/main.go +EXPOSE 8080 +CMD ["/bin/sparkled"] |
