fix(docker):修正Docker镜像构建和运行命令- 将Docker镜像标签从go_SportStore更正为go_sport_store

- 更新Dockerfile中的二进制文件名从storestore到sportstore
-保持Docker运行端口映射不变,确保服务正常启动
This commit is contained in:
2025-11-09 21:03:55 +08:00
parent 8d10979d0a
commit 8a627df6db
3 changed files with 3 additions and 3 deletions

View File

@@ -3,6 +3,6 @@ set GOARCH=amd64
go build
docker build --tag go_SportStore .
docker build --tag go_sport_store .
docker run -p 5000:5000 go_SportStore
docker run -p 5000:5000 go_sport_store

View File

@@ -1,6 +1,6 @@
FROM alpine:latest
COPY storestore /app/
COPY sportstore /app/
COPY templates /app/templates
COPY sql/* /app/sql
COPY files/* /app/files/

Binary file not shown.