1 Star 4 Fork 13

idcf-boat-house/boathouse-calculator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 465 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lei Xu 提交于 2022-04-02 23:05 . ingress research
FROM docker.io/library/node:14-slim
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json and package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# if youa re building your code for production
# RUN npm install --only=production
# Bundle app source
COPY . .
# Expose 3000 port on container
EXPOSE 3001
# Start up your application
CMD ["npm", "start"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/idcf-boat-house/boathouse-calculator.git
git@gitee.com:idcf-boat-house/boathouse-calculator.git
idcf-boat-house
boathouse-calculator
boathouse-calculator
master

搜索帮助