Polo123 commited on
Commit
69df446
·
verified ·
1 Parent(s): 0bbf9ea

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8.9
2
+
3
+ WORKDIR /app
4
+
5
+ COPY . /app/
6
+
7
+ RUN apt-get update && \
8
+ apt-get upgrade -y && \
9
+ apt-get install -y git
10
+
11
+ RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
12
+ RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
13
+ RUN rsync -av interactive_tutorials/ ./ --exclude=.git
14
+ RUN chmod -R 755 ./app/tools
15
+ RUN pip3 install --no-cache-dir -r /app/requirements.txt
16
+
17
+
18
+ EXPOSE 8501
19
+ CMD streamlit run app.py \
20
+ --server.headless true \
21
+ --server.enableCORS false \
22
+ --server.enableXsrfProtection false \
23
+ --server.fileWatcherType none