# Use the official golang image as the base image FROM golang:1.17 # Set the working directory inside the container WORKDIR /app # Copy the chisel binary from the latest release COPY --from=jpillora/chisel:latest /app/chisel /app/chisel # Expose port 8080 for HTTP and port 8443 for HTTPS EXPOSE 8080 8443 # Run the chisel server with default options CMD ["/app/chisel", "server"]