Files
001code-html--cocos/Dockerfile
刘宇飞 6e0a1fbcbb Initial commit of 001code-html Scratch frontend project.
Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:37:45 +08:00

17 lines
312 B
Docker

FROM nginx:alpine
# 安装vim工具
RUN apk add --no-cache vim
# 创建配置文件目录
RUN mkdir -p /etc/nginx/conf.d
# 复制静态文件
COPY scratch-gui/build /usr/share/nginx/html
# 复制默认配置文件
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]