add docker-compose and readme

This commit is contained in:
ramnique 2025-01-14 12:28:44 +05:30
parent 751e0371d8
commit 11e224eb4d
8 changed files with 94 additions and 7 deletions

View file

@ -14,8 +14,8 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose port if your app needs it (adjust as needed)
ENV HOSTNAME="0.0.0.0"
ENV PORT=3001
ENV FLASK_APP=app
ENV PYTHONUNBUFFERED=1
# Command to run the application
CMD ["python", "app.py"]
# Command to run Flask development server
CMD ["flask", "run", "--host=0.0.0.0", "--port=3002"]