-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
41 lines (29 loc) · 907 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Creation of base OS image
# FROM debian:bullseye-slim
FROM tensorflow/tensorflow:2.9.0-gpu
MAINTAINER Sabyasachi Ghosal, [email protected]
RUN apt-get -y update
RUN apt-get install --assume-yes --no-install-recommends --quiet \
python3 \
python3-pip \
ffmpeg
RUN pip install --upgrade tensorflow-hub
RUN pip install --no-cache --upgrade pip setuptools
# Set working directory
WORKDIR /TaggingAudioEffects
RUN pwd
# Copying the folder into the local
ADD ./tagging_audio_effects .
RUN pwd
# View contents while building dockerfile
RUN ls -a
# Install local dependencies
RUN pip3 install -r requirements.txt
# Installing JQ required for parsing
WORKDIR /bin
RUN apt-get install -y wget
RUN wget "http://stedolan.github.io/jq/download/linux64/jq" && chmod 755 jq
RUN pwd
# CMD ["/bin/jq"]
# Remove copied folder
RUN rm -f -r ./tagging_audio_effects