Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant0708 committed Dec 3, 2024
1 parent 52ece69 commit a6abe78
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# Use the official Python image with your version
FROM python:3.12.3

# Install system-level dependencies for PyAudio
# Install system dependencies (libGL, libGLU, and others for OpenCV)
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender1 \
portaudio19-dev \
libasound2-dev \
&& rm -rf /var/lib/apt/lists/*

# Set the working directory
# Set working directory
WORKDIR /app

# Copy project files
# Copy project files into container
COPY . .

# Install Python dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt

# Start the server
# Start the application
CMD ["python", "server.py"]

0 comments on commit a6abe78

Please sign in to comment.