Skip to content

Commit

Permalink
docker build 및 run 스크립트 추가됨
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDev42 committed Oct 22, 2016
1 parent 5a54582 commit e7d4145
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3.6

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY . /usr/src/app
RUN pip install -v -r requirements.txt

CMD ["python", "./alertserver/server.py"]
3 changes: 3 additions & 0 deletions docker_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

docker build -t bitbucket-alserts-trello .
3 changes: 3 additions & 0 deletions docker_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

docker run -it --rm --name bitbucket-alserts-trello bitbucket-alserts-trello

0 comments on commit e7d4145

Please sign in to comment.