Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
okemghou authored Nov 27, 2024
1 parent 611cedb commit 5ad89e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machi
RUN apt-get update && apt-get install -y \
git libhdf5-dev \
&& rm -rf /var/lib/apt/lists/*

COPY ./requirements.txt /code/requirements.txt

WORKDIR /code
COPY . /code
#COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache numpy==1.26.4 \
&& pip install --no-cache Cython==0.29.37 \
&& pip install --no-cache pandas==1.1.5 --no-build-isolation \
&& pip install -r /code/requirements.txt

RUN python -c 'import tensorflow_hub as hub; hub.load("https://tfhub.dev/google/universal-sentence-encoder/4")'

WORKDIR /code

# Run the command to start your app
CMD ["python", "run.py"]

0 comments on commit 5ad89e8

Please sign in to comment.