Skip to content

Commit

Permalink
Revert "chore: docker-compose upした際Goをビルドして実行するように変更"
Browse files Browse the repository at this point in the history
This reverts commit 298d068.
  • Loading branch information
togawa427 committed Apr 25, 2024
1 parent 298d068 commit 4af780b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,5 @@ backup/
mysql/backup.sql
mysql/test.sql

# main.goをビルドしたファイル
go/app/main


__pycache__/
3 changes: 1 addition & 2 deletions go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ RUN apk --update add tzdata&&\
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime&&\
apk del tzdata&&\
rm -rf /var/cache/apk/*
go build -o main .

CMD ["./main"]
CMD ["go","run","main.go"]



0 comments on commit 4af780b

Please sign in to comment.