Skip to content

Commit

Permalink
make it docker runable -debug
Browse files Browse the repository at this point in the history
  • Loading branch information
parsa committed Sep 3, 2023
1 parent 751e744 commit eb2d29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ WORKDIR /app

COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix -tags with_utls cgo -o main cmd/main.go
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix -tags with_utls cgo -o main start/main.go

# Stage 2: Create the final image using Alpine
FROM alpine:latest

RUN apk --no-cache add ca-certificates


WORKDIR /root/
COPY --from=builder /app/config/ config/
Expand Down

0 comments on commit eb2d29a

Please sign in to comment.