update dockerfile and cfg set to stage base by default

This commit is contained in:
SmileRex
2025-01-24 11:54:07 +03:00
parent 29942634a6
commit 8dd981f0f6
2 changed files with 3 additions and 2 deletions

View File

@@ -5,5 +5,6 @@ RUN go build -o app
FROM alpine:latest FROM alpine:latest
WORKDIR /main WORKDIR /main
COPY --from=builder /main /main/ COPY --from=builder /main/app /main/
COPY --from=builder /main/cfg.yml /main/
ENTRYPOINT ["/main/app"] ENTRYPOINT ["/main/app"]

View File

@@ -2,4 +2,4 @@ token: 7757765456:AAFpFXhbi9XCfgRt7P3OT3F_jrBBplubWZA # delete here
user_name: "root" user_name: "root"
password: "12641264" password: "12641264"
host_name: "217.12.40.237" host_name: "217.12.40.237"
db_name: "test" db_name: "stage"