Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
oser-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamza Touizrat
oser-backend
Commits
139b15b5
Commit
139b15b5
authored
Mar 10, 2018
by
florimondmanca
Browse files
Options
Downloads
Patches
Plain Diff
remove docker from TravisCI build
parent
38f85685
No related branches found
No related tags found
1 merge request
!1
Dockerize app and update TravisCI file
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-10
1 addition, 10 deletions
.travis.yml
Dockerfile
+0
-1
0 additions, 1 deletion
Dockerfile
with
1 addition
and
11 deletions
.travis.yml
+
1
−
10
View file @
139b15b5
sudo
:
required
language
:
python
python
:
-
"
3.6"
services
:
-
docker
before_install
:
# run Docker image in detached mode to be able to issue further commands
-
docker-compose up -d
-
docker exec -it oserbackend_app_1 bash
before_script
:
-
cd oser_backend
-
python manage.py makemigrations
-
python manage.py migrate
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
0
−
1
View file @
139b15b5
...
...
@@ -3,5 +3,4 @@ EXPOSE 8000
ADD
. /oser-backend
RUN
pip3
install
-r
oser-backend/requirements.txt
WORKDIR
/oser-backend/oser_backend
RUN
python3 manage.py
test
CMD
python3 manage.py runserver 0.0.0.0:8000
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