From 779d1078c65d0a02fec6ad2bdd58ef1bd2431bc8 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Sat, 9 Jul 2022 19:23:15 +0200 Subject: [PATCH] Updated deploy script --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba1101e..f01bf92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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