Add .gitea/workflows/*.yaml
This commit is contained in:
9
backend/Dockerfile
Normal file
9
backend/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . /app
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
24
backend/requirements-fmt.txt
Normal file
24
backend/requirements-fmt.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with Python 3.8
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile requirements-fmt.in
|
||||
#
|
||||
black==23.9.1
|
||||
# via -r requirements-fmt.in
|
||||
click==8.1.7
|
||||
# via black
|
||||
isort==5.12.0
|
||||
# via -r requirements-fmt.in
|
||||
mypy-extensions==1.0.0
|
||||
# via black
|
||||
packaging==23.1
|
||||
# via black
|
||||
pathspec==0.11.2
|
||||
# via black
|
||||
platformdirs==3.10.0
|
||||
# via black
|
||||
tomli==2.0.1
|
||||
# via black
|
||||
typing-extensions==4.8.0
|
||||
# via black
|
||||
51
backend/requirements-lint.txt
Normal file
51
backend/requirements-lint.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with Python 3.8
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile requirements-lint.in
|
||||
#
|
||||
black==23.9.1
|
||||
# via -r requirements-lint.in
|
||||
click==8.1.7
|
||||
# via black
|
||||
codespell==2.2.5
|
||||
# via -r requirements-lint.in
|
||||
flake8==6.0.0
|
||||
# via
|
||||
# -r requirements-lint.in
|
||||
# flake8-builtins
|
||||
# pep8-naming
|
||||
# pyproject-flake8
|
||||
flake8-builtins==2.1.0
|
||||
# via -r requirements-lint.in
|
||||
flake8-copyright==0.2.4
|
||||
# via -r requirements-lint.in
|
||||
isort==5.12.0
|
||||
# via -r requirements-lint.in
|
||||
mccabe==0.7.0
|
||||
# via flake8
|
||||
mypy-extensions==1.0.0
|
||||
# via black
|
||||
packaging==23.1
|
||||
# via black
|
||||
pathspec==0.11.2
|
||||
# via black
|
||||
pep8-naming==0.13.3
|
||||
# via -r requirements-lint.in
|
||||
platformdirs==3.10.0
|
||||
# via black
|
||||
pycodestyle==2.10.0
|
||||
# via flake8
|
||||
pyflakes==3.0.1
|
||||
# via flake8
|
||||
pyproject-flake8==6.0.0.post1
|
||||
# via -r requirements-lint.in
|
||||
tomli==2.0.1
|
||||
# via
|
||||
# black
|
||||
# pyproject-flake8
|
||||
typing-extensions==4.8.0
|
||||
# via black
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
# setuptools
|
||||
4
backend/requirements.txt
Normal file
4
backend/requirements.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
fastapi
|
||||
httpx
|
||||
pytest
|
||||
uvicorn
|
||||
Reference in New Issue
Block a user