TransienTalk-socket / Dockerfile
Ashraf-CK's picture
Update Dockerfile
e12452b verified
raw
history blame contribute delete
349 Bytes
# Use Python as the base image
FROM python:3.9-slim
# Copy the app code into the container
COPY . /app
# Set the working directory to /app
WORKDIR /app
# Install necessary Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port 5000 for the Flask app
EXPOSE 5000
# Run the app using Python
CMD ["python", "app.py"]