You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use the official Python image with version 3.7
FROM python:3.7
# Set the working directory inside the container
WORKDIR /app/middleware
# Copy the requirements file into the container
COPY requirements.txt /app/middleware/
# Install the Python dependencies
RUN pip install -r requirements.txt
RUN python -m spacy download en_core_web_sm
RUN python -m nltk.downloader stopwords
RUN python -m nltk.downloader punkt
RUN python -m nltk.downloader averaged_perceptron_tagger
RUN python -m nltk.downloader universal_tagset
RUN python -m nltk.downloader wordnet
RUN python -m nltk.downloader brown
RUN python -m nltk.downloader maxent_ne_chunker
RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
# Set an environment variable
ENV NAME=venv
# Expose the port the app runs on
EXPOSE 5002
# Run the command to start the application
CMD ["python", "app.py"]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: