student_placement / Dockerfile
Abid Ali Awan
Initial commit of Dockerized student placement app
275e79c
raw
history blame
423 Bytes
# Use an official Python runtime as a parent image
FROM python:3.12-slim
# Set the working directory in the container
WORKDIR /app
# Copy the requirements file and install dependencies
COPY requirements.txt ./
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy the entire project
COPY . .
# Expose port (adjust as necessary)
EXPOSE 5000
# Command to run the Flask app
CMD ["python", "app/app.py"]