mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-04-22 13:12:25 +02:00
19 lines
316 B
Docker
19 lines
316 B
Docker
# Base image for Python
|
|
FROM python:slim
|
|
|
|
# Set the working directory
|
|
WORKDIR /app
|
|
|
|
# Copy and install dependencies
|
|
COPY app/requirements.txt requirements.txt
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application code
|
|
COPY app/ .
|
|
|
|
# Expose port
|
|
EXPOSE 5000
|
|
|
|
# Start command
|
|
CMD ["python", "app.py"]
|