mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
Добавлен Docker
This commit is contained in:
2
runscripts/docker/buildandrun.bat
Normal file
2
runscripts/docker/buildandrun.bat
Normal file
@@ -0,0 +1,2 @@
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
4
runscripts/docker/buildandrun.sh
Normal file
4
runscripts/docker/buildandrun.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
3
runscripts/heroku/buildandpush.bat
Normal file
3
runscripts/heroku/buildandpush.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
docker-compose build
|
||||
heroku container:push web -a dyxless & ^
|
||||
heroku container:release web -a dyxless
|
||||
5
runscripts/heroku/buildandpush.sh
Normal file
5
runscripts/heroku/buildandpush.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker-compose build
|
||||
heroku container:push web -a dyxless || true
|
||||
heroku container:release web -a dyxless
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set echo off
|
||||
|
||||
export FLASK_APP=dyxless
|
||||
|
||||
flask run
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
set FLASK_APP=dyxless
|
||||
|
||||
flask run
|
||||
gunicorn --bind 0.0.0.0:$PORT dyxless.__init__:app
|
||||
|
||||
Reference in New Issue
Block a user