From bfdb556c88b20e0fb18c13dfe8e7534ccdccbba1 Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:14:23 -0500 Subject: [PATCH] Create datastore certs in dockerfile --- patches/account/dockerfile-update.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/patches/account/dockerfile-update.patch b/patches/account/dockerfile-update.patch index 902b5d6..03de188 100644 --- a/patches/account/dockerfile-update.patch +++ b/patches/account/dockerfile-update.patch @@ -1,8 +1,8 @@ -diff --git i/Dockerfile w/Dockerfile -index a810a90..3f73456 100644 ---- i/Dockerfile -+++ w/Dockerfile -@@ -1,16 +1,13 @@ +diff --git i/Dockerfile w/Dockerfile +index a810a90..c119a69 100644 +--- i/Dockerfile ++++ w/Dockerfile +@@ -1,16 +1,14 @@ -FROM node:18-alpine +FROM node:20-alpine @@ -17,6 +17,7 @@ index a810a90..3f73456 100644 COPY . ./ +RUN npm run build ++RUN node generate-certs.js nex datastore -VOLUME [ "/app/config.json", "/app/certs" ] +VOLUME [ "/app/certs" ]