Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plwordnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lexworkers
plwordnet
Commits
82ecc583
Commit
82ecc583
authored
Sep 4, 2020
by
Tomasz Walkowiak
Browse files
Options
Downloads
Plain Diff
Merge branch 'Plwordnet_to_Rancher' into 'master'
Plwordnet to rancher See merge request
!4
parents
b8e99477
0266000b
No related branches found
No related tags found
1 merge request
!4
Plwordnet to rancher
Pipeline
#1624
passed
Sep 4, 2020
Stage: check_style
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-2
3 additions, 2 deletions
Dockerfile
entrypoint.sh
+3
-0
3 additions, 0 deletions
entrypoint.sh
with
6 additions
and
2 deletions
Dockerfile
+
3
−
2
View file @
82ecc583
...
...
@@ -4,10 +4,11 @@ WORKDIR /home/worker
COPY
./src ./src
COPY
./main.py .
COPY
./requirements.txt .
COPY
./entrypoint.sh ./entrypoint.sh
COPY
./entrypoint.sh .
COPY
./info.json .
RUN
python3.6
-m
pip
install
-r
requirements.txt
RUN
[
"chmod"
,
"+x"
,
"./entrypoint.sh"
]
#CMD ["python3.6", "main.py", "service"]
CMD
["./entrypoint.sh"]
ENTRYPOINT
["./entrypoint.sh"]
This diff is collapsed.
Click to expand it.
entrypoint.sh
+
3
−
0
View file @
82ecc583
#!/bin/sh
#cd /home/worker
if
[
!
-d
"model"
]
;
then
mkdir
model
fi
if
[
-z
"
$(
ls
-A
model
)
"
]
;
then
#if is empty download
echo
"Downloading model"
wget http://minio.clarin-pl.eu/public/models/plwn_dump_27-03-2018.sqlite
-O
./model/plwn_dump_27-03-2018.sqlite
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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