File size: 444 Bytes
04d8858
 
eea34fa
 
04d8858
 
 
 
 
 
 
 
 
 
 
eea34fa
 
04d8858
 
a242310
 
b6cbfe7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM continuumio/miniconda3

RUN useradd -m -u 1000 user

WORKDIR /app

COPY . /app
COPY environment.yml /app/environment.yml

RUN apt-get update && apt-get install -y \
    libgl1-mesa-glx \
    libglib2.0-0

RUN conda env create -f environment.yml

RUN chmod -R 777 /app/

EXPOSE 7860

# CMD ["conda", "run", "-n", "playerTV", "python", "app.py"]

CMD ["bash", "-c", "source activate playerTV && flask run --host=0.0.0.0 --port=7860 --debug"]