fix(docker):修正Docker镜像构建和运行命令- 将Docker镜像标签从go_SportStore更正为go_sport_store
- 更新Dockerfile中的二进制文件名从storestore到sportstore -保持Docker运行端口映射不变,确保服务正常启动
This commit is contained in:
@@ -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
|
||||
@@ -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/
|
||||
|
||||
BIN
32-platform/sportsstore/sportstore
Normal file
BIN
32-platform/sportsstore/sportstore
Normal file
Binary file not shown.
Reference in New Issue
Block a user