-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 790 Bytes
/
Dockerfile
File metadata and controls
22 lines (18 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ------------------------------------------------------------------------------
# Pull base image.
FROM node:0.12
MAINTAINER Agung Firdaus <agung@jagad.co.id>
# ------------------------------------------------------------------------------
# Get prerender source and install
RUN git clone https://github.com/jagad/fullstack.git /tmp/fullstack
RUN cd /tmp/fullstack && npm install && mv /tmp/fullstack /fullstack
WORKDIR /fullstack
# ------------------------------------------------------------------------------
# Set development Env.
ENV NODE_ENV=development
# ------------------------------------------------------------------------------
# Expose ports.
EXPOSE 3000
# ------------------------------------------------------------------------------
# Run Grunt.
CMD ["grunt", "serve"]