forked from parse-community/parse-server-example
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (17 loc) · 519 Bytes
/
Dockerfile
File metadata and controls
26 lines (17 loc) · 519 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM node:latest
RUN mkdir parse
ADD . /parse
WORKDIR /parse
RUN npm install
ENV APP_ID setYourAppId
ENV MASTER_KEY setYourMasterKey
ENV DATABASE_URI setMongoDBURI
# Optional (default : 'parse/cloud/main.js')
# ENV CLOUD_CODE_MAIN cloudCodePath
# Optional (default : '/parse')
# ENV PARSE_MOUNT mountPath
EXPOSE 1337
# Uncomment if you want to access cloud code outside of your container
# A main.js file must be present, if not Parse will not start
# VOLUME /parse/cloud
CMD [ "npm", "start" ]