🔨 Fix dockerfile
This commit is contained in:
parent
ec1cf74207
commit
a85da44af1
@ -5,10 +5,6 @@ RUN apk add nodejs npm
|
|||||||
|
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY . .
|
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
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/main.go
|
||||||
|
|
||||||
# Runtime
|
# Runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user