1 Star 0 Fork 15

爱上星云/Puter

forked from Gitee 极速下载/Puter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 619 Bytes
一键复制 编辑 原始数据 按行查看 历史
KernelDeimos 提交于 2024-03-06 13:52 . Update Dockerfile
FROM node:21-alpine
# Set labels
LABEL repo="https://github.com/HeyPuter/puter"
LABEL license="AGPL-3.0,https://github.com/HeyPuter/puter/blob/master/LICENSE.txt"
LABEL version="v1.2.40-beta"
# Debugging
RUN apk add --no-cache bash # useful for debugging
# Setup working directory
RUN mkdir -p /opt/puter/app
WORKDIR /opt/puter/app
# Add source files
# NOTE: This might change (https://github.com/HeyPuter/puter/discussions/32)
COPY . .
# Set permissions
RUN chown -R node:node /opt/puter/app
USER node
# Install node modules
RUN npm cache clean --force \
&& npm install
EXPOSE 4000
CMD [ "npm", "start" ]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/zlichao/Puter.git
git@gitee.com:zlichao/Puter.git
zlichao
Puter
Puter
master

搜索帮助