Докеризировал
This commit is contained in:
parent
06d2cec493
commit
a5b5d0486c
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM golang:alpine
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
RUN go get ; CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
|
||||
CMD ./Crisp_Telegram_bot
|
||||
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
services:
|
||||
crispbot:
|
||||
build: .
|
||||
volumes:
|
||||
- /root/config.yml:/app/config.yml
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: redis
|
Loading…
Reference in New Issue
Block a user