Skip to content

Commit

Permalink
修改dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Aug 1, 2024
1 parent ef10f9d commit 008df24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN npm run generate
COPY front/replace_underscore.sh ./
RUN ls -l /app/
RUN chmod +x /app/replace_underscore.sh
RUN apk add --no-cache dos2unix && dos2unix /app/replace_underscore.sh
RUN /app/replace_underscore.sh
RUN ls -l /app/.output/public

Expand Down
2 changes: 1 addition & 1 deletion front/replace_underscore.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

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

0 comments on commit 008df24

Please sign in to comment.