Updated deploy script
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
|||||||
FROM node:18 AS frontend-builder
|
FROM node:18 AS frontend-builder
|
||||||
WORKDIR /frontend
|
WORKDIR /frontend
|
||||||
COPY ./_frontend .
|
COPY ./_frontend/package.json ./package.json
|
||||||
|
COPY ./_frontend/package-lock.json ./package-lock.json
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
COPY ./_frontend .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM golang:1.18-alpine AS server-builder
|
FROM golang:1.18-alpine AS server-builder
|
||||||
|
|||||||
Reference in New Issue
Block a user