From 5ad89e8f81a92c75bbc62594a4dc448eea763027 Mon Sep 17 00:00:00 2001 From: Odile Kemghou <128539129+okemghou@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:25:23 -0500 Subject: [PATCH] Update Dockerfile --- etl/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etl/Dockerfile b/etl/Dockerfile index 96f7b1e..e0ed066 100644 --- a/etl/Dockerfile +++ b/etl/Dockerfile @@ -6,8 +6,10 @@ 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 \ @@ -15,7 +17,5 @@ RUN pip install --no-cache numpy==1.26.4 \ 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"]