Files
projectdiscovery-httpx/Dockerfile
Robbie faac44ccc2 Update Dockerfile (#2223)
Fix the build issues with docker not being up to date.
2025-07-27 00:59:30 +05:30

16 lines
346 B
Docker

# Base
FROM golang:1.24.5-alpine AS builder
RUN apk add --no-cache git build-base gcc musl-dev
WORKDIR /app
COPY . /app
RUN go mod download
RUN go build ./cmd/httpx
FROM alpine:3.18.2
RUN apk upgrade --no-cache \
&& apk add --no-cache bind-tools ca-certificates chromium
COPY --from=builder /app/httpx /usr/local/bin/
ENTRYPOINT ["httpx"]