From 3287b63e010d3ac06b6f97da2903ac0d22695263 Mon Sep 17 00:00:00 2001 From: Jonas-Ian Kuche Date: Tue, 25 Apr 2023 21:07:22 +0200 Subject: [PATCH] refactor(parse): move cloud code into docker image --- parse-server/Dockerfile | 3 +++ {cloud => parse-server/cloud}/main.js | 0 2 files changed, 3 insertions(+) rename {cloud => parse-server/cloud}/main.js (100%) diff --git a/parse-server/Dockerfile b/parse-server/Dockerfile index 78b1e48..28ad551 100644 --- a/parse-server/Dockerfile +++ b/parse-server/Dockerfile @@ -2,3 +2,6 @@ FROM docker.io/parseplatform/parse-server:6.1.0-alpha.7 USER root RUN npm install seedrandom uuid USER node + +COPY cloud/ /parse-server/cloud/ +CMD ["--cloud", "/parse-server/cloud/main.js", "--masterKeyIps", "0.0.0.0/0"] diff --git a/cloud/main.js b/parse-server/cloud/main.js similarity index 100% rename from cloud/main.js rename to parse-server/cloud/main.js