Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant0708 committed Dec 1, 2024
1 parent 0f8bdf2 commit 6ca65b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official lightweight Python image as the base
FROM python:3.9-slim
# Use a full Python image as the base (instead of slim)
FROM python:3.9

# Set the working directory inside the container
WORKDIR /app
Expand All @@ -19,8 +19,8 @@ RUN apt-get update && apt-get install -y \
# Upgrade pip
RUN python -m pip install --upgrade pip

# Install PyAudio manually
RUN pip install --no-cache-dir --global-option="build_ext" --global-option="-I/usr/include/portaudio19" PyAudio
# Install PyAudio
RUN pip install --no-cache-dir PyAudio

# Copy application code into the container
COPY . .
Expand Down

0 comments on commit 6ca65b0

Please sign in to comment.