We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4da6b27 commit 0f07f4fCopy full SHA for 0f07f4f
Dockerfile
@@ -1,5 +1,5 @@
1
# Use an official Python runtime as a parent image
2
-FROM python:3.11-slim
+FROM python:3.12-slim
3
4
# Set the working directory in the container
5
WORKDIR /app
docker-compose.yml
@@ -0,0 +1,11 @@
+version: '3.8'
+
+services:
+ web:
+ build: .
6
+ ports:
7
+ - "5000:5000"
8
+ environment:
9
+ FLASK_ENV: ${FLASK_ENV:-development}
10
+ SUPABASE_URL: ${SUPABASE_URL}
11
+ SUPABASE_KEY: ${SUPABASE_KEY}
sample.env
@@ -0,0 +1,2 @@
+SUPABASE_URL=""
+SUPABASE_KEY=""
wsgi.py
@@ -1,4 +1,4 @@
from app import app
if __name__ == "__main__":
- app.run()
+ app.run(host='0.0.0.0')
0 commit comments