-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (33 loc) · 855 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM node:8
WORKDIR /usr/app/src
# Load Source
COPY . .
RUN mkdir uploads
VOLUME /usr/app/src/uploads
# Install Gulp
RUN npm install -g gulp
# Install node_modules
RUN npm install
# Build Using Gulp
RUN gulp build
ENV DATABASE = mongodb://localhost
ENV PORT = 3000
ENV JWT_SECRET = secret
ENV ROOT_URL = http://localhost:3000
ENV ADMIN_EMAIL = foo@bar.com
ENV ADMIN_PASS = secret
ENV EMAIL_CONTACT = FooBar <foo@bar.com>
ENV EMAIL_HOST = smtp.bar.com
ENV EMAIL_USER = foo@bar.com
ENV EMAIL_ADDRESS = foo@bar.com
ENV HACKATHON_NAME = Hacktival
ENV TWITTER_HANDLE = @hackundsoehne
ENV FACEBOOK_HANDLE = hackundsoehne
ENV EMAIL_PASS = abc123changeme
ENV EMAIL_PORT = 465
ENV EMAIL_HEADER = image.png
ENV NODE_ENV = dev
ENV TEAM_MAX_SIZE = 4
ENV SLACK_HOOK = https://hooks.slack.com/services/yourapikey
EXPOSE 3000
CMD node app.js