dl4ds_tutor / Dockerfile.dev
XThomasBU
updates, added metadat to prompt
6d056d5
raw
history blame
No virus
603 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r /code/requirements.txt
COPY . /code
RUN ls -R
# Change permissions to allow writing to the directory
RUN chmod -R 777 /code
# Create a logs directory and set permissions
RUN mkdir /code/logs && chmod 777 /code/logs
# Create a cache directory within the application's working directory
RUN mkdir /.cache && chmod -R 777 /.cache
# Expose the port the app runs on
EXPOSE 8051
CMD python code/modules/vector_db.py && chainlit run code/main.py --port 8051