edfdeb8da7
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-9689899 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-9712315 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-9712315 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-9712315
19 lines
376 B
Docker
19 lines
376 B
Docker
# Use an official Python runtime as a parent image
|
|
FROM python:3.13.3-slim
|
|
|
|
# Create a working directory
|
|
WORKDIR /app
|
|
|
|
# Copy requirements and install
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy the application code
|
|
COPY app.py .
|
|
|
|
# Expose the port Flask will run on (5000 by default)
|
|
EXPOSE 5000
|
|
|
|
# Run the app
|
|
CMD ["python", "app.py"]
|