github-actions[bot]
commited on
Commit
·
38db016
1
Parent(s):
11a8eb2
Update from GitHub Actions
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -41,6 +41,10 @@ COPY functions/ ./functions/
|
|
41 |
RUN npm install
|
42 |
RUN npm run build:server
|
43 |
|
|
|
|
|
|
|
|
|
44 |
# 创建非 root 用户和用户组
|
45 |
RUN addgroup -S -g 1001 nodejs && \
|
46 |
adduser -S -D -H -u 1001 -G nodejs hono
|
|
|
41 |
RUN npm install
|
42 |
RUN npm run build:server
|
43 |
|
44 |
+
# 创建 debug 目录并设置权限
|
45 |
+
RUN mkdir -p /app/debug && \
|
46 |
+
chmod 777 /app/debug
|
47 |
+
|
48 |
# 创建非 root 用户和用户组
|
49 |
RUN addgroup -S -g 1001 nodejs && \
|
50 |
adduser -S -D -H -u 1001 -G nodejs hono
|