Skip to content

Commit d18b7b5

Browse files
committed
chore(registry): change workdir to /workspace
1 parent a6a142f commit d18b7b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM docker.io/drycc/go-dev:latest AS build
22
ARG LDFLAGS
3-
ADD . /app
3+
ADD . /workspace
44
RUN export GO111MODULE=on \
5-
&& cd /app \
5+
&& cd /workspace \
66
&& CGO_ENABLED=0 init-stack go build -ldflags "${LDFLAGS}" -o /usr/local/bin/registry main.go \
77
&& upx -9 --brute /usr/local/bin/registry
88

0 commit comments

Comments
 (0)