Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
xjl0 committed Jun 16, 2024
1 parent 3dc4d1a commit 5938d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /backend-app-files
# Копируем исходный код
COPY . .
# Собираем статически линкованный исполняемый файл
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./hori-bot ./main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./hori-bot ./cmd/main.go

# Используем базовый образ alpine для минимального образа
FROM alpine
Expand Down

0 comments on commit 5938d54

Please sign in to comment.