Post_finder/Dockerfile

17 lines
286 B
Docker

FROM python:3.10-slim
# 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"]