File size: 1,023 Bytes
7322dd9 69df446 d1d0e25 69df446 46251b9 a85513c ce08d1d a85513c 8c82c85 ebc82ff 8c82c85 ebc82ff 8c82c85 27e7d40 69df446 ce08d1d abe8595 ce08d1d a7deb0d 749a2fc 69df446 ce08d1d ebc82ff d796994 69df446 d796994 |
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 37 38 39 40 41 42 43 |
FROM python:3.10
WORKDIR /app
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y gcc
RUN echo "Shrey $PWD"
#RUN apt-get -y install rsync
# User
RUN useradd -m -u 1000 user
USER user
ENV HOME /home/user
ENV PATH $HOME/.local/bin:$PATH
WORKDIR $HOME
RUN mkdir app
WORKDIR $HOME/app
COPY . $HOME/app
#COPY . .
#COPY --chown=user:user . /app
#RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
#RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
#RUN unzip ./movie_data_source/sampled_movie_dataset.zip
RUN pip3 install --no-cache-dir -r pre-requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt
#RUN rsync -av interactive_tutorials/ ./ --exclude=.git
#RUN chmod -R 755 ./tools
EXPOSE 8501
CMD streamlit run app.py \
--server.headless true \
--server.enableCORS false \
--server.enableXsrfProtection false \
--server.fileWatcherType none |