File size: 653 Bytes
95744d9
 
 
 
1583e93
95744d9
 
7ead96b
 
 
 
95744d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
FROM ubuntu:latest

RUN apt update
RUN apt-get update && \
    apt-get install -y curl python3-pip python3-dev && \
    rm -rf /var/lib/apt/lists/*

RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
	PATH=/home/user/.local/bin:$PATH

COPY process_one.sh /app/process_one.sh
COPY process_two.sh /app/process_two.sh
COPY main.sh /app/main.sh

COPY home.py /frontend/home.py
COPY streaming.py /frontend/streaming.py
COPY utils.py /frontend/utils.py
COPY requirements.txt /frontend/requirements.txt

WORKDIR /app

EXPOSE 8501

 
RUN chmod +x  /app/process_one.sh
RUN chmod +x  /app/process_two.sh
RUN chmod +x  /app/main.sh


CMD ["/app/main.sh"]