Skip to content

Commit 103578b

Browse files
committed
Add dockerfile and .dockerignore
1 parent 149409a commit 103578b

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tests
2+
.circleci
3+
node_modules

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ lib-cov
66
*.out
77
*.pid
88
*.gz
9+
*.env
910

1011
pids
1112
logs

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM node
2+
WORKDIR /server
3+
COPY package.json /server
4+
COPY package-lock.json /server
5+
RUN npm install
6+
COPY . /server
7+
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)