Spaces:
Sleeping
Sleeping
karthikrathod
commited on
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -4,9 +4,13 @@ FROM python:3.9
|
|
4 |
# Set working directory
|
5 |
WORKDIR /code
|
6 |
|
|
|
7 |
# Copy requirements file and install dependencies
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
|
|
|
|
|
|
10 |
# create folder inside code folder
|
11 |
RUN mkdir -p /code/storage/bm25
|
12 |
RUN mkdir -p /code/storage/kg
|
|
|
4 |
# Set working directory
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
COPY ./requirements.txt /code/requirements.txt
|
8 |
# Copy requirements file and install dependencies
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
+
|
12 |
+
COPY . .
|
13 |
+
|
14 |
# create folder inside code folder
|
15 |
RUN mkdir -p /code/storage/bm25
|
16 |
RUN mkdir -p /code/storage/kg
|