first commit

This commit is contained in:
annous246 2025-08-07 15:45:58 +01:00
parent 911bbda08f
commit 6acff67053
4 changed files with 17 additions and 2 deletions

0
.gitea/docker.yml Normal file
View File

14
DockerFile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
EXPOSE 5000
CMD ["flask", "run"]

3
run.py
View File

@ -5,4 +5,5 @@ app = create_app()
migrate = Migrate(app, db)
if __name__ == "__main__":
app.run(debug=True)
app.run(host="0.0.0.0", port=5000, debug=True)

View File

@ -1,3 +1,3 @@
home = C:\Python37
home = C:\Users\Lenovo\Desktop\stage 2025\flask\venv\Scripts
include-system-site-packages = false
version = 3.7.1