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 5ad89e8 commit d9ad23a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions etl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ 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 \
&& pip install -r /code/requirements.txt

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

0 comments on commit d9ad23a

Please sign in to comment.