mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
remove buildvcs=false (#142)
This commit is contained in:
parent
0ac97eee91
commit
e5d5613502
@ -10,7 +10,8 @@ COPY . /build
|
||||
RUN cd /build && sed -i "s|.\/pics|${IMG_PATH}|g" config.json \
|
||||
&& sed -i "s|\"\"|\"${EXHAUST_PATH}\"|g" config.json \
|
||||
&& sed -i 's/127.0.0.1/0.0.0.0/g' config.json \
|
||||
&& go build -ldflags="-s -w" -buildvcs=false -o webp-server .
|
||||
&& rm -rf .git \
|
||||
&& go build -ldflags="-s -w" -o webp-server .
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user