Skip to content

Commit 008df24

Browse files
author
Jerry
committed
修改dockerfile
1 parent ef10f9d commit 008df24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN npm run generate
88
COPY front/replace_underscore.sh ./
99
RUN ls -l /app/
1010
RUN chmod +x /app/replace_underscore.sh
11+
RUN apk add --no-cache dos2unix && dos2unix /app/replace_underscore.sh
1112
RUN /app/replace_underscore.sh
1213
RUN ls -l /app/.output/public
1314

front/replace_underscore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
TARGET_DIR="/app/.output/public"
44
# 遍历当前目录及子目录中的所有以 _ 开头的文件

0 commit comments

Comments
 (0)