-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile
36 lines (30 loc) · 841 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
FROM debian:stable
RUN apt-get update && \
apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable" && \
apt-get update && \
apt-get -y install \
docker-ce \
docker-ce-cli \
containerd.io \
build-essential \
net-tools \
python3 \
python3-pip && \
rm -rf /var/lib/apt/lists/* && \
pip3 install -U pip && \
mkdir /app
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
EXPOSE 8501
CMD ["python3", "-m", "DockerENT", "--web-app"]