jcheng5 commited on
Commit
3e2e001
·
1 Parent(s): f3b7848

Install Node.js, necessary for qgrid

Browse files
Files changed (2) hide show
  1. .dockerignore +2 -0
  2. Dockerfile +4 -0
.dockerignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .venv
2
+ __pycache__
Dockerfile CHANGED
@@ -2,6 +2,10 @@ FROM python:3.9
2
 
3
  WORKDIR /code
4
 
 
 
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
2
 
3
  WORKDIR /code
4
 
5
+ # Install Node.js
6
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
7
+ RUN apt-get install -y nodejs
8
+
9
  COPY ./requirements.txt /code/requirements.txt
10
 
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt