Spaces:
Runtime error
Runtime error
File size: 448 Bytes
42196dc 6304a81 a2361bc 42196dc da7535b 6304a81 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.8
WORKDIR /code
# COPY ./requirements.txt /code/requirements.txt
# RUN pip install --upgrade -r /code/requirements.txt
COPY pyproject.toml poetry.lock ./
RUN pip install poetry==1.6.0
RUN poetry config virtualenvs.create false && \
poetry install --no-root --no-cache
COPY ./embedder ./embedder
COPY ./classifiers ./classifiers
COPY ./required_classes.py ./required_classes.py
COPY ./app.py ./app.py
CMD ["python", "app.py"]
|