mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-05-23 13:56:21 -05:00
Create datastore certs in dockerfile
This commit is contained in:
parent
845f4e0b27
commit
bfdb556c88
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user