mirror of
https://github.com/projectdiscovery/subfinder
synced 2026-06-21 14:05:24 +00:00
refactor: change Dockerfile paths
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
This commit is contained in:
+1
-2
@@ -3,7 +3,6 @@ FROM golang:1.24-alpine AS build-env
|
||||
RUN apk add build-base
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
WORKDIR /app/v2
|
||||
RUN go mod download
|
||||
RUN go build ./cmd/subfinder
|
||||
|
||||
@@ -11,6 +10,6 @@ RUN go build ./cmd/subfinder
|
||||
FROM alpine:latest
|
||||
RUN apk upgrade --no-cache \
|
||||
&& apk add --no-cache bind-tools ca-certificates
|
||||
COPY --from=build-env /app/v2/subfinder /usr/local/bin/
|
||||
COPY --from=build-env /app/subfinder /usr/local/bin/
|
||||
|
||||
ENTRYPOINT ["subfinder"]
|
||||
|
||||
Reference in New Issue
Block a user