-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathDockerfile
23 lines (20 loc) · 820 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM node:6
MAINTAINER Jacob Reynolds <jreynoldsdev@gmail.com>
RUN mkdir -p /usr/api
COPY . /usr/api
WORKDIR /usr/api
RUN npm install --production
# Please feed these tokens in at runtime if using this in a real environment, never keep them here
#API key for mailgun for sending notification emails
ENV MAILGUN_API XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#Google recaptcha secret key
ENV RECAPTCHA_SECRET_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ENV RECAPTCHA_SITE_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#Blinkie_key is the API token to verify requests coming from Blinkie
#Generate this and make it >24 characters long
ENV BLINKIE_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXX
#Session secret is used for seeding the session token
ENV SESSION_SECRET XXXXXXXXXXXXXXXXXXXXXXXX
ENV PORT 3000
EXPOSE $PORT
CMD ["npm", "start"]