mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: WofWca <wofwca@protonmail.com>
This commit is contained in:
parent
a16403dcd1
commit
4008e7bb00
1 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
|||
FROM docker.io/library/golang:latest AS build
|
||||
|
||||
|
||||
COPY go.mod /app/go.mod
|
||||
COPY go.sum /app/go.sum
|
||||
WORKDIR /app/
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . /app
|
||||
COPY . ./
|
||||
|
||||
WORKDIR /app/proxy
|
||||
RUN CGO_ENABLED=0 go build -o proxy -ldflags '-extldflags "-static" -w -s' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue