Skip to content

Commit bba43ae

Browse files
committed
updated Dockerfile for local builds and reduced image size
1 parent b2c9293 commit bba43ae

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.dockerignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Development
2+
.git/
3+
.github/
4+
.idea/
5+
__pycache__/
6+
7+
# Data and examples
8+
assets/
9+
example/
10+
expected_outputs/
11+
tests/
12+
13+
# Documentation
14+
docs/
15+
git stas
16+
# Build artifacts
17+
*.egg-info/
18+
dist/
19+
build/

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ RUN python --version && \
3131
pip --version && \
3232
conda --version
3333

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

3738
# Install diart dependencies
3839
RUN conda install portaudio pysoundfile ffmpeg -c conda-forge

0 commit comments

Comments
 (0)