Use dockerignore instead of rm -rf .git
Merge pull request #226 from andsild/dockerignore
This commit is contained in:
commit
2459969349
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
.git/
|
@ -11,8 +11,6 @@ COPY . /botamusique
|
||||
|
||||
WORKDIR /botamusique
|
||||
|
||||
RUN rm -rf .git*
|
||||
|
||||
RUN python3 -m venv venv && \
|
||||
venv/bin/pip install wheel && \
|
||||
venv/bin/pip install -r requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user