Post_finder/Dockerfile

23 lines
466 B
Docker
Raw Normal View History

2025-01-02 15:53:46 +05:00
# Use Python slim image
FROM python:3.10-slim
# Install build dependencies
RUN apt-get update \
&& apt-get install -y gcc clang libdbus-1-dev meson \
&& rm -rf /var/lib/apt/lists/* # Clean up
# Set the working directory
WORKDIR /app
# Copy the application files
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port the app runs on
EXPOSE 5000
# Command to run the app
CMD ["python", "App.py"]