pull/4090/merge
TS_M 2 days ago committed by GitHub
commit 8e4fe2423c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,21 @@
# Stage 1: 构建好的paddle-speech镜像
FROM paddle-speech-base:1.0.0
# Set working directory
WORKDIR /app
# Copy the rest of the backend application code
COPY speech_server/ .
# Show what files were copied
RUN ls -la
# Create source directories
RUN mkdir -p source/vpr source/wav source/db source/model
RUN pip install --upgrade pip && \
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
# Expose port
EXPOSE 8010
# Command to run the application
CMD ["python", "main.py", "--port", "8010"]
Loading…
Cancel
Save