Skip to content
Snippets Groups Projects
Commit 1a1bbf58 authored by Szymon Ciombor's avatar Szymon Ciombor
Browse files

Copy main.py to /home/worker

parent 86e1d0a8
Branches
No related merge requests found
Pipeline #2998 passed with stage
in 34 seconds
FROM clarinpl/python:3.6 FROM clarinpl/python:3.6
WORKDIR /home/worker WORKDIR /home/worker
COPY ./src ./src COPY ./src ./src
COPY ./requirements.txt . COPY ./requirements.txt .
#COPY ./models/autocorrect ./models/autocorrect COPY ./main.py .
COPY ./entrypoint.sh . #COPY ./models/autocorrect ./models/autocorrect
COPY ./entrypoint.sh .
RUN apt update && apt install -y g++ gdb
RUN apt update && apt install -y g++ gdb
#RUN git clone https://github.com/facebookresearch/fastText.git && \
# cd fastText && \ #RUN git clone https://github.com/facebookresearch/fastText.git && \
# python3.6 -m pip install . && \ # cd fastText && \
# cd .. && \ # python3.6 -m pip install . && \
# rm -rf fastText # cd .. && \
# rm -rf fastText
RUN python3.6 -m pip install -r requirements.txt
RUN python3.6 -m pip install -r requirements.txt
RUN ["chmod", "+x", "./entrypoint.sh"]
RUN ["chmod", "+x", "./entrypoint.sh"]
CMD ["./entrypoint.sh"]
CMD ["./entrypoint.sh"]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment