Merge pull request #73 from AlfHou/AlfHou-patch-1

Update Dockerfile
This commit is contained in:
Alf Sebastian Houge
2023-07-20 14:05:20 +02:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ 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 RUN apk add --no-cache autoconf automake build-base nasm libc6-compat python3 py3-pip make g++
RUN npm install RUN npm install
COPY ./ui . COPY ./ui .
RUN npm run build RUN npm run build