pvanand commited on
Commit
c7c1c43
·
1 Parent(s): ee007a0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -7,8 +7,11 @@
7
  ARG PYTHON_VERSION=3.8
8
  FROM python:${PYTHON_VERSION}-slim as base
9
 
10
- # Install dependencies and utilities
11
- RUN python -m pip install rasa
 
 
 
12
 
13
  # Prevents Python from writing pyc files.
14
  ENV PYTHONDONTWRITEBYTECODE=1
 
7
  ARG PYTHON_VERSION=3.8
8
  FROM python:${PYTHON_VERSION}-slim as base
9
 
10
+ # Copy the requirements file into the container.
11
+ COPY requirements.txt .
12
+
13
+ # Install the dependencies from the requirements file.
14
+ RUN python -m pip install --no-cache-dir -r requirements.txt
15
 
16
  # Prevents Python from writing pyc files.
17
  ENV PYTHONDONTWRITEBYTECODE=1