diff --git a/trade_web/Dockerfile b/trade_web/Dockerfile new file mode 100644 index 0000000..7f99a61 --- /dev/null +++ b/trade_web/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.12-slim + +ENV PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + FLASK_HOST=0.0.0.0 \ + FLASK_DEBUG=0 \ + PORT=5050 + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +EXPOSE 5050 + +CMD ["python", "app.py"]