File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2- FROM golang:1.19-buster as builder
2+ FROM golang:1.24-bookworm AS builder
33
44# Create and change to the app directory.
55WORKDIR /go/src/github.com/scosman/zipstreamer
@@ -19,10 +19,10 @@ RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -
1919# Copy the binary to the production image from the builder stage.
2020COPY --from=builder /go/src/github.com/scosman/zipstreamer/zipstreamer /zipstreamer
2121
22- # Expose port - shouldn't override PORT env when using docker as server will bind to unexposed port.
23- # Instead map exposed port 4008 to desired port when running.
22+ # Expose port - shouldn't override PORT env when using docker as server will bind to unexposed port.
23+ # Instead map exposed port 4008 to desired port when running.
2424# Example to bind to port 80 (assuming image named docker-zs) `docker run -p 127.0.0.1:80:4008/tcp docker-zs`
2525ENV PORT=4008
2626EXPOSE 4008
2727
28- CMD ["/zipstreamer" ]
28+ CMD ["/zipstreamer" ]
You can’t perform that action at this time.
0 commit comments