Mythus commited on
Commit
5b6a527
·
verified ·
1 Parent(s): 472b9f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile CHANGED
@@ -11,8 +11,20 @@ ADD . /app
11
  ENV TMDB_KEY\
12
  DOMAIN
13
 
 
14
  # Install any needed packages specified in requirements.txt
15
  RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
 
 
 
 
 
 
16
  #EXPOSE the port
17
  EXPOSE 8080
18
 
 
11
  ENV TMDB_KEY\
12
  DOMAIN
13
 
14
+
15
  # Install any needed packages specified in requirements.txt
16
  RUN pip install --no-cache-dir -r requirements.txt
17
+
18
+ RUN apt-get update && \
19
+ apt-get install -y curl && \
20
+ curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
21
+ apt-get install -y nodejs && \
22
+ apt-get remove -y curl && \
23
+ apt-get -y autoclean
24
+
25
+ # Check Node.js was installed
26
+ RUN node -v
27
+ RUN npm -v
28
  #EXPOSE the port
29
  EXPOSE 8080
30