Che237 commited on
Commit
65b642b
·
verified ·
1 Parent(s): 76c320d

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -24,7 +24,9 @@ WORKDIR $HOME/app
24
  # Copy requirements and install dependencies
25
  COPY --chown=user requirements.txt .
26
  RUN pip install --no-cache-dir --upgrade pip && \
27
- pip install --no-cache-dir -r requirements.txt
 
 
28
 
29
  # Copy application code
30
  COPY --chown=user . .
 
24
  # Copy requirements and install dependencies
25
  COPY --chown=user requirements.txt .
26
  RUN pip install --no-cache-dir --upgrade pip && \
27
+ pip install --no-cache-dir -r requirements.txt && \
28
+ pip install --no-cache-dir ipykernel && \
29
+ python -m ipykernel install --user --name python3 --display-name "Python 3"
30
 
31
  # Copy application code
32
  COPY --chown=user . .