text-similarity / Dockerfile
Fariddwi's picture
Upload 6 files
5139c5a
raw
history blame
347 Bytes
# Base image
FROM python:3.9
# Set working directory
WORKDIR /app
# Copy the application files
COPY app.py .
COPY TextSimilarity.py .
COPY requirements.txt .
COPY utils.py .
# Install dependencies
RUN pip3 install -r requirements.txt
RUN python3 download_model.py
# Expose the port
EXPOSE 8000
# Run the application
CMD ["python3""app.py"]