We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 506b17b + 258924a commit d1dd223Copy full SHA for d1dd223
Dockerfile
@@ -0,0 +1,26 @@
1
+FROM node:latest
2
+
3
+RUN mkdir parse
4
5
+ADD . /parse
6
+WORKDIR /parse
7
+RUN npm install
8
9
+ENV APP_ID setYourAppId
10
+ENV MASTER_KEY setYourMasterKey
11
+ENV DATABASE_URI setMongoDBURI
12
13
+# Optional (default : 'parse/cloud/main.js')
14
+# ENV CLOUD_CODE_MAIN cloudCodePath
15
16
+# Optional (default : '/parse')
17
+# ENV PARSE_MOUNT mountPath
18
19
+EXPOSE 1337
20
21
+# Uncomment if you want to access cloud code outside of your container
22
+# A main.js file must be present, if not Parse will not start
23
24
+# VOLUME /parse/cloud
25
26
+CMD [ "npm", "start" ]
0 commit comments