Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
黄南光
/
auto-restock
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bea383f4
authored
Nov 06, 2026
by
黄南光
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改docker
1 parent
45bae16f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
deploy/server.Dockerfile
deploy/server.Dockerfile
View file @
bea383f
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
# 国内拉取慢请在 Docker Daemon 配置镜像加速器。
# 国内拉取慢请在 Docker Daemon 配置镜像加速器。
# ---------- 1. 前端(Vue 3 企业后台 + 手机单据页)----------
# ---------- 1. 前端(Vue 3 企业后台 + 手机单据页)----------
FROM node:20-alpine AS web
# pnpm 11 要求 Node >= 22.13(依赖内置模块 node:sqlite),node:20 会报 ERR_UNKNOWN_BUILTIN_MODULE
FROM node:22-alpine AS web
WORKDIR /web
WORKDIR /web
RUN corepack enable && corepack prepare pnpm@11.7.0 --activate && pnpm config set registry https://registry.npmmirror.com
RUN corepack enable && corepack prepare pnpm@11.7.0 --activate && pnpm config set registry https://registry.npmmirror.com
COPY web/package.json web/pnpm-lock.yaml web/pnpm-workspace.yaml ./
COPY web/package.json web/pnpm-lock.yaml web/pnpm-workspace.yaml ./
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment