Present nodejs for deploying server-side rendering web projects

This commit is contained in:
LittleSheep 2025-01-14 18:39:02 +08:00
parent 5eef06bd42
commit 2f0631aa35

View File

@ -9,6 +9,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/
FROM golang:alpine
RUN apk add zip
RUN apk add nodejs npm
COPY --from=roadsign-server /dist /roadsign/server