updated dockefile to strip
This commit is contained in:
1 parent
e896c7f4e2
commit
acdfca497d
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ RUN npm run build
|
||||
FROM golang:alpine as base
|
||||
WORKDIR /app
|
||||
COPY ./src/backend ./
|
||||
RUN go build -o filebrowser .
|
||||
RUN go build -ldflags='-w -s' -o filebrowser .
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add \
|
||||
|
||||
Reference in new issue
Block a user