switch to ras-dan-01
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after -56s

This commit is contained in:
2025-03-31 15:21:28 +02:00
parent a78d1589e8
commit c0cfe686d1
13 changed files with 9 additions and 2 deletions

25
files/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
# syntax=docker/dockerfile:1
FROM python:3.14.0a3-alpine3.21
# Set up environment variables for Python
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Create and set the working directory
WORKDIR /app
# Copy only the requirements file first to leverage Docker caching
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire application code
# COPY . .
# Expose the port your application will run on
EXPOSE 8080
# Specify the command to run on container start
CMD ["python", "app.py"]