Update Dockerfile
This commit is contained in:
committed by
GitHub
parent
f1a7a053f4
commit
20b0e246fd
@@ -11,9 +11,8 @@ RUN go build -o ./app ./main.go
|
|||||||
|
|
||||||
FROM node:16-alpine as build-stage
|
FROM node:16-alpine as build-stage
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
USER node
|
|
||||||
COPY ./ui/package*.json ./
|
COPY ./ui/package*.json ./
|
||||||
RUN apk add --no-cache autoconf automake build-base
|
RUN apk add --no-cache autoconf automake build-base nasm
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY ./ui .
|
COPY ./ui .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user