We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5935554 commit 1c71f29Copy full SHA for 1c71f29
Dockerfile
@@ -9,13 +9,13 @@ WORKDIR /app
9
COPY . .
10
11
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
12
-RUN apk add upx
+RUN #apk add upx
13
RUN go mod tidy
14
RUN sh get_arch.sh
15
RUN echo "Hello, my CPU architecture is $(uname -m)"
16
RUN cp -r /app/web/build /app/server/resource/
17
RUN go env;CGO_ENABLED=0 GOOS=linux GOARCH=$ARCH go build -ldflags '-s -w' -o next-terminal main.go
18
-RUN upx next-terminal
+RUN #upx next-terminal
19
20
FROM alpine:latest
21
0 commit comments