🔨 Update dockerfile

This commit is contained in:
LittleSheep 2024-04-21 17:38:08 +08:00
parent f2d7c8f93c
commit 2f940d257e
1 changed files with 0 additions and 4 deletions

View File

@ -5,10 +5,6 @@ RUN apk add nodejs npm
WORKDIR /source
COPY . .
WORKDIR /source/pkg/views
RUN npm install
RUN npm run build
WORKDIR /source
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/main.go
# Runtime