Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Drone-side-project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
skysky
Drone-side-project
Commits
7fc72e69
Commit
7fc72e69
authored
Jul 31, 2023
by
skysky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dockerfile
parent
98266690
Pipeline
#4522
passed with stage
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
2 deletions
+11
-2
.drone.yml
.drone.yml
+1
-1
Dockerfile
Dockerfile
+9
-0
app.py
app.py
+1
-1
app_web/__pycache__/__init__.cpython-310.pyc
app_web/__pycache__/__init__.cpython-310.pyc
+0
-0
app_web/__pycache__/view.cpython-310.pyc
app_web/__pycache__/view.cpython-310.pyc
+0
-0
No files found.
.drone.yml
View file @
7fc72e69
...
@@ -3,7 +3,7 @@ kind: pipeline
...
@@ -3,7 +3,7 @@ kind: pipeline
type
:
docker
type
:
docker
name
:
default
name
:
default
steps
:
steps
:
-
name
:
build
-
name
:
build
-and-test
image
:
python
image
:
python
commands
:
commands
:
-
echo "Starting build now..."
-
echo "Starting build now..."
...
...
Dockerfile
0 → 100644
View file @
7fc72e69
FROM
python
WORKDIR
/app
ADD
. /app
RUN
pip
install
-r
requirements.txt
CMD
python app.py
\ No newline at end of file
app.py
View file @
7fc72e69
from
app_web
import
app
from
app_web
import
app
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
app
.
run
()
app
.
run
(
host
=
"0.0.0.0"
)
\ No newline at end of file
\ No newline at end of file
app_web/__pycache__/__init__.cpython-310.pyc
View file @
7fc72e69
No preview for this file type
app_web/__pycache__/view.cpython-310.pyc
View file @
7fc72e69
No preview for this file type
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