Skip to content

Commit 729005a

Browse files
committed
Fixed module errors
1 parent 718262a commit 729005a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.9
33

44
# Set the working directory in the container
55
WORKDIR /app
66

77
# Copy the current directory contents into the container at /app
88
COPY . /app
99

10-
# Install any needed dependencies specified in requirements.txt
11-
RUN pip3 install --no-cache-dir -r requirements.txt
10+
# Debug: List files to ensure requirements.txt is present
11+
RUN ls -al /app
12+
13+
# Install dependencies if requirements.txt exists
14+
RUN if [ -f "requirements.txt" ]; then pip3 install --no-cache-dir -r requirements.txt; fi
1215

1316
# Command to run your module
1417
CMD ["python", "-m", "Audio_SpectraCLI.main"]

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ setuptools
66
twine
77
wheel
88
pyqt5
9-
scipy
10-
pyaudio
9+
scipy

0 commit comments

Comments
 (0)