summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDashie <dashie@sigpipe.me>2021-03-15 07:57:38 +0100
committerDashie <dashie@sigpipe.me>2021-03-15 07:57:38 +0100
commitaf95a6ea1e60d62453c21838baf4c032a326aa10 (patch)
tree03d22fc4a80a8ff4f7ae913c2ef0c88b8ee686df
parentd442437a3f8b3481565306f0d120e27ae9168f95 (diff)
lfjdsklfjakl
-rw-r--r--api/Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/api/Dockerfile b/api/Dockerfile
index c02abdb8..d7a4d008 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -2,15 +2,15 @@ FROM genesix/docker-audiowaveform-alpine:latest as audiowaveform-builder
FROM alpine:3.13
-RUN apk add --no-cache sox sox-dev taglib libmagic file-dev libffi libffi-dev postgresql-client python3-dev libxml2 py3-lxml bash ffmpeg libmediainfo boost boost-program_options libsndfile libid3tag gd libmad rust
+RUN apk add --no-cache sox sox-dev taglib libmagic file-dev libffi libffi-dev postgresql-client python3-dev python3 py3-pip libxml2 py3-lxml bash ffmpeg libmediainfo boost boost-program_options libsndfile libid3tag gd libmad rust
RUN apk add --no-cache --virtual .build-deps cmake gcc g++ make pkgconfig git boost-dev gd-dev libmad-dev libsndfile-dev libid3tag-dev wget postgresql-dev libxml2-dev taglib-dev
COPY ./requirements.txt .
-RUN pip install --upgrade pip && \
- pip install setuptools wheel && \
- pip install --no-cache-dir -r /requirements.txt && \
- pip install sentry-sdk
+RUN pip3 install --upgrade pip && \
+ pip3 install setuptools wheel && \
+ pip3 install --no-cache-dir -r /requirements.txt && \
+ pip3 install sentry-sdk
COPY --from=audiowaveform-builder /bin/audiowaveform /usr/local/bin