FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
parse-server-example/Dockerfile at master · sharpred/parse-server-example · GitHub
sharpred
/
parse-server-example
Public
forked from
parse-community/parse-server-example
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
parse-server-example
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (17 loc) · 519 Bytes
Breadcrumbs
parse-server-example
/
Dockerfile
Copy path
File metadata and controls
26 lines (17 loc) · 519 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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"
]
Back
|
FazBrowse Home
|
New Git URL