|
|
|
@ -1,7 +1,9 @@
|
|
|
|
|
FROM node:18 AS frontend-builder
|
|
|
|
|
WORKDIR /frontend
|
|
|
|
|
COPY ./_frontend .
|
|
|
|
|
COPY ./_frontend/package.json ./package.json
|
|
|
|
|
COPY ./_frontend/package-lock.json ./package-lock.json
|
|
|
|
|
RUN npm install
|
|
|
|
|
COPY ./_frontend .
|
|
|
|
|
RUN npm run build
|
|
|
|
|
|
|
|
|
|
FROM golang:1.18-alpine AS server-builder
|
|
|
|
|