PlayerTV-test / Dockerfile
SushantGautam's picture
Update Dockerfile
eea34fa verified
raw
history blame contribute delete
444 Bytes
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"]