This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: test
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker:latest
|
||||
commands:
|
||||
- docker build -t test .
|
||||
- name: deploy
|
||||
image: docker:latest
|
||||
commands:
|
||||
- sh run.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM python:3.13.1-slim
|
||||
FROM python:3.13.1-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -8,11 +8,10 @@ services:
|
||||
networks:
|
||||
- bot_network
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:alpine
|
||||
image: postgres:17-alpine
|
||||
deploy:
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
|
||||
Reference in New Issue
Block a user