mirror of
https://github.com/karl0ss/ai-frame-image-server.git
synced 2025-04-26 02:00:13 +01:00
18 lines
413 B
Docker
18 lines
413 B
Docker
# Use an official Python image as a base
|
|
FROM python:3.11-slim
|
|
|
|
# Set the working directory in the container
|
|
WORKDIR /app
|
|
|
|
# Copy project files into the container
|
|
COPY . /app
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Expose any necessary ports (optional, if running a web app)
|
|
EXPOSE 5000
|
|
|
|
# Define the command to run the application
|
|
CMD ["python", "ai_frame_image_server.py"]
|