update dockerfile
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
FROM golang:1.24.1-alpine3.21 AS build
|
||||
|
||||
RUN apk add clang lld musl-dev compiler-rt compiler-rt-static
|
||||
RUN apk add clang lld musl-dev compiler-rt
|
||||
|
||||
RUN mkdir -pv /app
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
ENV CC=clang
|
||||
ENV GOPATH=/app
|
||||
ENV CGO_ENABLED=1
|
||||
ENV GOOS=linux
|
||||
|
||||
@@ -24,4 +23,4 @@ COPY --from=build /app/server /app/server
|
||||
COPY --from=build /app/wwwroot /app/wwwroot
|
||||
COPY --from=build /app/passwords.db /app/passwords.db
|
||||
|
||||
CMD ["/app/server"]
|
||||
CMD ["/app/server"]
|
||||
|
||||
Reference in New Issue
Block a user