-
Notifications
You must be signed in to change notification settings - Fork 170
/
Dockerfile
25 lines (21 loc) · 686 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
# Dockerfile
# #############################################################################
#
# Build image:
# >> docker build -t dsp-app .
#
# Run container:
# >> docker run --rm --name my-app -it -p 8888:8888 dsp-app
#
# #############################################################################
FROM python:3.9
LABEL source="https://github.com/hukenovs/dsp-theory"
# Install pip libraries
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt -U
# Create Volume and workdir
WORKDIR /workdir
COPY . .
# Execute Final command
EXPOSE 8888
CMD jupyter notebook --port 8888 --no-browser --ip 0.0.0.0 --allow-root