Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teachermate-seller-docker
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
teachermate-seller-docker
Commits
5cb68d3a
There was an error fetching the commit references. Please try again later.
Unverified
Commit
5cb68d3a
authored
6 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
working
parent
42a1df7e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-1
3 additions, 1 deletion
Dockerfile
entry.sh
+4
-4
4 additions, 4 deletions
entry.sh
with
7 additions
and
5 deletions
Dockerfile
+
3
−
1
View file @
5cb68d3a
...
...
@@ -2,7 +2,9 @@ FROM python:3.7
MAINTAINER
root@recolic.net
RUN
apt
install
-y
git expect
EXPOSE
80/tcp
RUN
apt update
-y
&&
apt
install
-y
git expect
RUN
mkdir
/app /app/log /app/keys
VOLUME
/app/log
VOLUME
/app/keys
...
...
This diff is collapsed.
Click to expand it.
entry.sh
+
4
−
4
View file @
5cb68d3a
...
...
@@ -4,12 +4,12 @@
git_
=
"
$1
"
mkdir
-p
./keys ./log
&&
touch
./keys/keys.list
&&
ln
-s
./keys/keys.list ./src/keys.list
&&
git clone
"
$git_
"
src
&&
unbuffer python3 src/daemon.py
>>
./log/tm.log 2>&1
touch
./keys/keys.list
&&
ln
-s
$(
pwd
)
/keys/keys.list ./src/keys.list
&&
cd
/app/src
&&
unbuffer python3 ./daemon.py 80
>>
../log/tm.log 2>&1
exit
$?
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