Update Dockerfile

This commit is contained in:
Alf Sebastian Houge
2023-07-20 14:39:11 +02:00
committed by GitHub
parent 9bcc2cc2a0
commit 4ed813cd2e

View File

@@ -12,7 +12,7 @@ RUN go build -o ./app ./main.go
FROM node:16-alpine as build-stage
WORKDIR /app
COPY ./ui/package*.json ./
RUN apk add --no-cache autoconf automake build-base nasm libc6-compat python3 py3-pip make g++
RUN apk add --no-cache autoconf automake build-base nasm libc6-compat python3 py3-pip make g++ libpng-dev zlib-dev
RUN npm install
COPY ./ui .
RUN npm run build