Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
312 B
Docker
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;"] |