Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stenio Araujo
merge-issue-slash
Commits
070323f1
Commit
070323f1
authored
Aug 03, 2018
by
Stenio Araujo
Browse files
Creating Docker container
parent
9eaab741
Changes
4
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
070323f1
FROM
python:3.3
LABEL
maintainer="contato@stenioelson.com.br"
# -- Install Pipenv:
RUN
pip
install
flask-api requests
# -- Install Application into container:
RUN
mkdir
/app
WORKDIR
/app
COPY
app.py /app
EXPOSE
8080
CMD
["python", "app.py"]
Pipfile
View file @
070323f1
...
...
@@ -6,11 +6,9 @@ name = "pypi"
[dev-packages]
pylint
=
"*"
[packages]
flask-api
=
"*"
requests
=
"*"
Pipfile.lock
View file @
070323f1
...
...
@@ -5,16 +5,16 @@
},
"host-environment-markers"
:
{
"implementation_name"
:
"cpython"
,
"implementation_version"
:
"
0
"
,
"implementation_version"
:
"
3.6.4
"
,
"os_name"
:
"posix"
,
"platform_machine"
:
"x86_64"
,
"platform_python_implementation"
:
"CPython"
,
"platform_release"
:
"4.4.0-130-generic"
,
"platform_system"
:
"Linux"
,
"platform_version"
:
"#156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018"
,
"python_full_version"
:
"
2.7.12
"
,
"python_version"
:
"
2.7
"
,
"sys_platform"
:
"linux
2
"
"python_full_version"
:
"
3.6.4
"
,
"python_version"
:
"
3.6
"
,
"sys_platform"
:
"linux"
},
"pipfile-spec"
:
6
,
"requires"
:
{},
...
...
@@ -113,42 +113,17 @@
"develop"
:
{
"astroid"
:
{
"hashes"
:
[
"sha256:
0ef2bf9f07c3150929b25e8e61b5198c27b0dca195e156f0e4d5bdd89185ca1a
"
,
"sha256:
fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a
"
"sha256:
d066cdeec5faeb51a4be5010da612680653d844b57afd86a5c8315f2f801b4cc
"
,
"sha256:
a48b57ede295c3188ef5c84273bc2a8eadc46e4cbb001eae0d49fb5d1fabbb19
"
],
"version"
:
"==1.6.5"
},
"backports.functools-lru-cache"
:
{
"hashes"
:
[
"sha256:f0b0e4eba956de51238e17573b7087e852dfe9854afd2e9c873f73fc0ca0a6dd"
,
"sha256:9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
],
"markers"
:
"python_version == '2.7'"
,
"version"
:
"==1.5"
},
"configparser"
:
{
"hashes"
:
[
"sha256:5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a"
],
"markers"
:
"python_version == '2.7'"
,
"version"
:
"==3.5.0"
},
"enum34"
:
{
"hashes"
:
[
"sha256:6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79"
,
"sha256:644837f692e5f550741432dd3f223bbb9852018674981b1664e5dc339387588a"
,
"sha256:8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"
,
"sha256:2d81cbbe0e73112bdfe6ef8576f2238f2ba27dd0d55752a776c41d38b7da2850"
],
"markers"
:
"python_version < '3.4'"
,
"version"
:
"==1.1.6"
"version"
:
"==2.0.2"
},
"futures"
:
{
"hashes"
:
[
"sha256:
ec0a6cb848cc212002b9828c3e34c675e0c9ff6741dc445cab6fdd4e1085d1f1
"
,
"sha256:
9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265
"
"sha256:
c4884a65654a7c45435063e14ae85280eb1f111d94e542396717ba9828c4337f
"
,
"sha256:
51ecb45f0add83c806c68e4b06106f90db260585b25ef2abfcda0bd95c0132fd
"
],
"version"
:
"==3.
2.0
"
"version"
:
"==3.
1.1
"
},
"isort"
:
{
"hashes"
:
[
...
...
@@ -201,18 +176,10 @@
},
"pylint"
:
{
"hashes"
:
[
"sha256:a48070545c12430cfc4e865bf62f5ad367784765681b3db442d8230f0960aa3c"
,
"sha256:fff220bcb996b4f7e2b0f6812fd81507b72ca4d8c4d05daf2655c333800cb9b3"
],
"version"
:
"==1.9.2"
},
"singledispatch"
:
{
"hashes"
:
[
"sha256:833b46966687b3de7f438c761ac475213e53b306740f1abfaa86e1d1aae56aa8"
,
"sha256:5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c"
"sha256:4cadcaa4f1fb19123d4baa758d9fbe6286c5b3aa513af6ea42a2d51d405db205"
,
"sha256:0edfec21270725c5aa8e8d8d06ef5666f766e0e748ed2f1ab23624727303b935"
],
"markers"
:
"python_version < '3.4'"
,
"version"
:
"==3.4.0.3"
"version"
:
"==2.1.0"
},
"six"
:
{
"hashes"
:
[
...
...
@@ -221,6 +188,14 @@
],
"version"
:
"==1.11.0"
},
"typing"
:
{
"hashes"
:
[
"sha256:b2c689d54e1144bbcfd191b0832980a21c2dbcf7b5ff7a66248a60c90e951eb8"
,
"sha256:3a887b021a77b292e151afb75323dea88a7bc1b3dfa92176cff8e44c8b68bddf"
,
"sha256:d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2"
],
"version"
:
"==3.6.4"
},
"wrapt"
:
{
"hashes"
:
[
"sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6"
...
...
docker-compose.yaml
0 → 100644
View file @
070323f1
version
:
"
3"
services
:
merges-issues-slash
:
container_name
:
"
merges-issues-slash"
image
:
merges-issues-slash
environment
:
-
ALLOWED_CHANNELS_IDS=""
-
GITLAB_PERSONAL_TOKEN=""
-
SECRET_ACCESS_KEY=""
-
SLACK_SIGNING_SECRET=""
ports
:
-
"
8082:8080"
restart
:
always
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