提交 8046f5c4 编写于 作者: J Jeff Fox

add Dockerfile

上级 916b6b93
# OS X
.DS_Store*
Icon?
._*
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
# Linux
.directory
*~
# npm
node_modules
package-lock.json
*.log
*.gz
# Coveralls
coverage
# Benchmarking
benchmarks/graphs
\ No newline at end of file
FROM node:12-alpine
RUN apk add --no-cache python g++ make
WORKDIR /docker-app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册