Skip to content

Commit bb77271

Browse files
committed
Try procfile
1 parent a05c445 commit bb77271

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: pdm start

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dev = [
3636
[tool.pdm.scripts]
3737
dev.env = { "GITHUB_TOKEN" = "demo", "SKIP_TOKEN_CHECK" = "true" }
3838
dev.cmd = "python main.py --reload"
39+
start = "uvicorn main:app --reload --port 8000 --host 0.0.0.0"
3940

4041
[tool.pdm.build]
4142
includes = []

0 commit comments

Comments
 (0)