Skip to content

Commit

Permalink
[#15] Use "python:3.8-alpine3.16" docker image to reduce the size
Browse files Browse the repository at this point in the history
  • Loading branch information
xserrat committed Nov 16, 2022
1 parent 2f8446e commit a088ed4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM python:3.8 as packages
FROM python:3.8-alpine3.16

USER root
ENV TORCH_HOME=/data/models

# Install needed packages
RUN apt update && apt install -y \
git \
ffmpeg
ffmpeg \
&& python3 -m pip install --upgrade pip

# Install Facebook Demucs
RUN mkdir -p /lib/demucs
Expand Down

0 comments on commit a088ed4

Please sign in to comment.