Добавлен Docker

This commit is contained in:
2021-08-15 13:03:36 +03:00
parent 9fb2a673d2
commit 44a5c8e635
11 changed files with 100 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
docker-compose build
docker-compose up

View File

@@ -0,0 +1,4 @@
#!/bin/bash
docker-compose build
docker-compose up

View File

@@ -0,0 +1,3 @@
docker-compose build
heroku container:push web -a dyxless & ^
heroku container:release web -a dyxless

View File

@@ -0,0 +1,5 @@
#!/bin/bash
docker-compose build
heroku container:push web -a dyxless || true
heroku container:release web -a dyxless

View File

@@ -1,7 +0,0 @@
#!/bin/bash
set echo off
export FLASK_APP=dyxless
flask run

View File

@@ -3,4 +3,4 @@
set FLASK_APP=dyxless
flask run
gunicorn --bind 0.0.0.0:$PORT dyxless.__init__:app