Skip to content

Commit cb7bfe6

Browse files
author
James Lee
committedJun 26, 2016
update deployment branch and remove volumn
1 parent 8cfc5d4 commit cb7bfe6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
 

‎Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ FROM python:3.5
22
RUN pip install Flask==0.11.1 redis==2.10.5
33
RUN useradd -ms /bin/bash admin
44
USER admin
5+
COPY app /app
56
WORKDIR /app
67
CMD ["python", "app.py"]

‎circle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test:
1515

1616
deployment:
1717
hub:
18-
branch: [circle_ci_publish, master]
18+
branch: /.*/
1919
commands:
2020
- docker login -e $DOCKER_HUB_EMAIL -u $DOCKER_HUB_USER_ID -p $DOCKER_HUB_PWD
2121
- docker tag dockerapp_dockerapp $DOCKER_HUB_USER_ID/dockerapp:$CIRCLE_SHA1

‎docker-compose.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ services:
44
build: .
55
ports:
66
- "5000:5000"
7-
volumes:
8-
- ./app:/app
97

108
redis:
119
image: redis:3.2.0

0 commit comments

Comments
 (0)
Please sign in to comment.