Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
decc890b
Commit
decc890b
authored
Jun 03, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added test in dockerfile
parent
f3b38730
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
26 deletions
+52
-26
Dockerfile
sure_tosca-flask-server/Dockerfile
+3
-0
test_default_controller.py
...a-flask-server/sure_tosca/test/test_default_controller.py
+49
-26
No files found.
sure_tosca-flask-server/Dockerfile
View file @
decc890b
...
...
@@ -6,9 +6,12 @@ WORKDIR /usr/src/app
COPY
requirements.txt /usr/src/app/
RUN
pip
install
--no-cache-dir
-r
requirements.txt
RUN
pip
install
--no-cache-dir
-r
test-requirements.txt
COPY
. /usr/src/app
RUN
python
-m
unittest discover
EXPOSE
8081
ENTRYPOINT
["python"]
...
...
sure_tosca-flask-server/sure_tosca/test/test_default_controller.py
View file @
decc890b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment