Skip to content
Snippets Groups Projects
Dockerfile 498 B
Newer Older
Tomasz Walkowiak's avatar
Tomasz Walkowiak committed
FROM clarinpl/python:3.8

WORKDIR /home/worker
COPY ./src ./src
COPY ./requirements.txt .
COPY ./main.py .
#COPY ./models/autocorrect ./models/autocorrect
COPY ./entrypoint.sh .

RUN apt update && apt install -y g++ gdb

#RUN git clone https://github.com/facebookresearch/fastText.git && \
#    cd fastText && \
#    python3.6 -m pip install . && \
#    cd .. && \
#    rm -rf fastText

Tomasz Walkowiak's avatar
Tomasz Walkowiak committed
RUN python -m pip install -r requirements.txt

RUN ["chmod", "+x", "./entrypoint.sh"]

CMD ["./entrypoint.sh"]