Skip to content

Commit bf98232

Browse files
committed
添加 Dockerfile
1 parent e79f4f0 commit bf98232

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM limaofeng/node-alpine
2+
3+
COPY . /app
4+
5+
WORKDIR /app
6+
7+
RUN cnpm install -g yarn serve && yarn && yarn build
8+
9+
EXPOSE 3000
10+
11+
CMD serve -p 3000 -s build

0 commit comments

Comments
 (0)