Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
speller2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
speller2
Commits
1a1bbf58
Commit
1a1bbf58
authored
4 years ago
by
Szymon Ciombor
Browse files
Options
Downloads
Patches
Plain Diff
Copy main.py to /home/worker
parent
86e1d0a8
Branches
Branches containing commit
No related merge requests found
Pipeline
#2998
passed with stage
Stage:
in 34 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+22
-21
22 additions, 21 deletions
Dockerfile
with
22 additions
and
21 deletions
Dockerfile
+
22
−
21
View file @
1a1bbf58
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"]
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment