updated dockefile to strip

This commit is contained in:
Graham Steffaniak 2023-06-13 08:54:07 -05:00
parent e896c7f4e2
commit acdfca497d
1 changed files with 1 additions and 1 deletions

View File

@ -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 \