Hi can any one please help me in creating a docker image for my Rasabot that I have done by following the steps given in the documentation. How my docker file should look like after completing the step 4.3 Adding Custom Dependencies
Here is an example where I add the Oracle instant client and some python dependencies …
Dockerfile
# Extend the official Rasa Core SDK image
FROM rasa/rasa_core_sdk:latest
# Add a custom system library
RUN apt-get update && \
apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev libaio1 libaio-dev
# Add the Oracle Instant Client
ADD ./oracle.tar.gz /opt
ENV LD_LIBRARY_PATH=/opt/oracle
# Copy python requirements file
COPY requirements.txt ./
# Add custom python requirements
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
requirements.txt
python-ldap
cx_Oracle
pymssql
pika