From d9ad23a8b2ebc9ea58b6d21720a7a5480d795f31 Mon Sep 17 00:00:00 2001 From: Odile Kemghou <128539129+okemghou@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:22:32 -0500 Subject: [PATCH] Update Dockerfile --- etl/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/etl/Dockerfile b/etl/Dockerfile index e0ed066..22913de 100644 --- a/etl/Dockerfile +++ b/etl/Dockerfile @@ -7,9 +7,7 @@ RUN apt-get update && apt-get install -y \ git libhdf5-dev \ && rm -rf /var/lib/apt/lists/* -WORKDIR /code -COPY . /code -#COPY ./requirements.txt /code/requirements.txt +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 \ @@ -17,5 +15,4 @@ 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")' -# Run the command to start your app -CMD ["python", "run.py"] +WORKDIR /code