ci: force docker build on github workflows

Need to find a way to pull docker image and push Prisma migrations without reinstalling all packages
This commit is contained in:
Sonny
2023-11-20 01:06:45 +01:00
parent 208093dec4
commit b830837cee
2 changed files with 9 additions and 21 deletions

View File

@@ -1,30 +1,18 @@
version: "3.8"
volumes:
db_volume_data:
driver: local
networks:
mylinks_app:
external: true
services:
# mylinks_db:
# container_name: MyLinksDB
# image: mysql:latest
# restart: always
# volumes:
# - db_volume_data:/var/lib/postgresql/data
# - ./docker-config/mysql-dev-init.sql:/docker-entrypoint-initdb.d/init.sql
# env_file:
# - .env
mylinks:
restart: always
container_name: MyLinks
image: sonny93/my-links:latest
# build:
# context: .
build:
context: .
ports:
- 127.0.0.1:5000:3000
- "127.0.0.1:5000:3000"
env_file:
- .env
# depends_on:
# mylinks_db:
# condition: service_started
networks:
- mylinks_app