forked from rochejul/sequelize-mocking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (16 loc) · 806 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (16 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ----------------------------------------------------------------------------------------------------------------------
# Load
FROM node:4.3.0
# ----------------------------------------------------------------------------------------------------------------------
# Install the NodeJs App
# Install app dependencies
COPY package.json /sequelize-mocking/package.json
COPY npm-shrinkwrap.json /sequelize-mocking/npm-shrinkwrap.json
RUN cd /sequelize-mocking; npm install
# Bundle app source (goal: check if the generated ES5 files work)
COPY ./lib-es5 /sequelize-mocking/lib
COPY ./test /sequelize-mocking/test
# ----------------------------------------------------------------------------------------------------------------------
# Run the application
WORKDIR /sequelize-mocking
CMD ["npm", "test"]