Skip to content

Commit 0333fd6

Browse files
Add Dockerfile
1 parent 22060e7 commit 0333fd6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM node:13.10.1-buster
2+
3+
COPY . /app/src
4+
WORKDIR /app/src
5+
RUN npm i && \
6+
npm run build
7+
CMD ["npm", "run", "start"]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vue-hackernews-2.0",
2+
"name": "nostalgia-hn",
33
"description": "A Vue.js project",
44
"author": "Evan You <yyx990803@gmail.com>",
55
"private": true,
@@ -55,4 +55,4 @@
5555
"webpack-merge": "^4.2.1",
5656
"webpack-node-externals": "^1.7.2"
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)