Skip to content

Let's use AI to Earn!

fix(部署):修复docker无法构建镜像问题

gaoSirbead013c5546
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000..8f27b149
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,21 @@
+node_modules
+.next
+.git
+.gitignore
+.env*.local
+.nyc_output
+coverage
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+.pnpm-debug.log*
+README.md
+Dockerfile
+.dockerignore
+dist
+build
+.DS_Store
+.vscode
+.idea
+*.log
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 39af1e43..6a6b7aa6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,10 @@
<option name="autoReloadType" value="NONE" />
</component>
<component name="ChangeListManager">
- <list default="true" id="8ce961ad-7c9e-494c-bc53-9ecde4358af8" name="更改" comment="fix(seo): 站点地图修复">
+ <list default="true" id="8ce961ad-7c9e-494c-bc53-9ecde4358af8" name="更改" comment="fix(日历):发布时间格式修复">
+ <change afterPath="$PROJECT_DIR$/.dockerignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -28,6 +30,18 @@
<option name="PUSH_AUTO_UPDATE" value="true" />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
+ <component name="GitHubPullRequestSearchHistory"><![CDATA[{
+ "lastFilter": {
+ "state": "OPEN",
+ "assignee": "gaozhenqiang"
+ }
+}]]></component>
+ <component name="GithubPullRequestsUISettings"><![CDATA[{
+ "selectedUrlAndAccountId": {
+ "url": "https://github.com/yikart/aitoearn-web.git",
+ "accountId": "f5430140-317f-4240-bde4-97758a52e360"
+ }
+}]]></component>
<component name="ProblemsViewState">
<option name="selectedTabId" value="ProjectErrors" />
</component>
@@ -140,7 +154,8 @@
<workItem from="1753234753622" duration="6000" />
<workItem from="1753265763659" duration="874000" />
<workItem from="1753359739552" duration="307000" />
- <workItem from="1753408516738" duration="577000" />
+ <workItem from="1753408516738" duration="2310000" />
+ <workItem from="1753435689663" duration="1073000" />
</task>
<task id="LOCAL-00001" summary="feat(CalendarTiming): 优化发布记录列表展示&#10;- 调整日历记录项的样式和布局&#10;- 优化 RecordCore组件,添加平台图标和时间显示&#10;- 修改 CalendarTimingItem 组件,移除不必要的 Fragment&#10;-调整 index.tsx 中的日期格式化逻辑">
<option name="closed" value="true" />
@@ -406,7 +421,15 @@
<option name="project" value="LOCAL" />
<updated>1753265975510</updated>
</task>
- <option name="localTasksCounter" value="34" />
+ <task id="LOCAL-00034" summary="fix(日历):发布时间格式修复">
+ <option name="closed" value="true" />
+ <created>1753409153113</created>
+ <option name="number" value="00034" />
+ <option name="presentableId" value="LOCAL-00034" />
+ <option name="project" value="LOCAL" />
+ <updated>1753409153113</updated>
+ </task>
+ <option name="localTasksCounter" value="35" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -446,7 +469,6 @@
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_NEW_TODO" value="false" />
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
- <MESSAGE value="feat: 删除不需要的文件" />
<MESSAGE value="feat(日历): 删除任务、修改任务时间接入API,删除任务完成" />
<MESSAGE value="fix(发布): 默认返回快手参数" />
<MESSAGE value="feat(日历):细节调整,1. 发布记录查看,添加图片、视频分别处理。 2. 发布API添加图片处理" />
@@ -471,6 +493,7 @@
<MESSAGE value="chore: b站校验优化" />
<MESSAGE value="fix(发布): usePubParamsVerify参数校验优化" />
<MESSAGE value="fix(seo): 站点地图修复" />
- <option name="LAST_COMMIT_MESSAGE" value="fix(seo): 站点地图修复" />
+ <MESSAGE value="fix(日历):发布时间格式修复" />
+ <option name="LAST_COMMIT_MESSAGE" value="fix(日历):发布时间格式修复" />
</component>
</project>
\ No newline at end of file
diff --git a/package.json b/package.json
index 54395b33..6ced4137 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"postbuild": "next-sitemap",
"dev": "next dev --experimental-https -p 6060",
"dev:local": "cross-env NEXT_PUBLIC_API_URL=http://localhost:7000/api/ next dev --experimental-https -p 6060",
- "build": "tsc && next build && npm run copy-static",
+ "build": "tsc && next build",
+ "build:copy": "tsc && next build && npm run copy-static",
"copy-static": "xcopy public .next\\standalone\\public /E /I /Y && if exist .next\\static xcopy .next\\static .next\\standalone\\.next\\static /E /I /Y",
"start": "next start",
"lint": "next lint",