base
Some checks failed
Generate release / build-and-publish (push) Failing after 37s

This commit is contained in:
ventilaar 2024-02-28 22:26:31 +01:00
parent e31a66b448
commit 51b61d1dc2

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
# Use an Alpine-based image
FROM python:3-alpine
# Set environment variables
ENV FLASK_RUN_HOST=0.0.0.0
# Set the working directory in the container
WORKDIR /app
# Copy the requirements file into the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Command to run the Flask application
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "ayta:create_app"]