Skip to content

Commit

Permalink
updated Dockerfile for local builds and reduced image size
Browse files Browse the repository at this point in the history
  • Loading branch information
janaab11 committed Jan 3, 2025
1 parent b2c9293 commit bba43ae
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Development
.git/
.github/
.idea/
__pycache__/

# Data and examples
assets/
example/
expected_outputs/
tests/

# Documentation
docs/
git stas
# Build artifacts
*.egg-info/
dist/
build/
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ RUN python --version && \
pip --version && \
conda --version

RUN git clone --branch develop-server https://github.com/adalat-ai-tech/diart.git
# Create app directory and copy files
WORKDIR /diart
COPY . .

# Install diart dependencies
RUN conda install portaudio pysoundfile ffmpeg -c conda-forge
Expand Down

0 comments on commit bba43ae

Please sign in to comment.