Update Dockerfile
This commit is contained in:
committed by
GitHub
parent
49cc485866
commit
6132aa36af
@@ -12,7 +12,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
|
||||||
COPY ./ui/package*.json ./
|
COPY ./ui/package*.json ./
|
||||||
RUN apk add --no-cache autoconf automake build-base nasm libc6-compat python3 py3-pip make g++ libpng-dev zlib-dev
|
RUN apk add --no-cache autoconf automake build-base nasm libc6-compat python3 py3-pip make g++ libpng-dev zlib-dev pngquant
|
||||||
|
|
||||||
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