Skip to content

Commit 6906a7c

Browse files
committed
- Gitignored .idea forlder
- Added an alternate Dockerfile to local development
1 parent c5948f5 commit 6906a7c

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ target/
6363

6464
# Visual Studio code
6565
.vscode/
66+
67+
# Intellij
68+
.idea

Dockerfile-dev

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# https://github.com/francescou/docker-compose-ui
2+
# DOCKER-VERSION 1.12.3
3+
FROM python:2.7-alpine
4+
MAINTAINER Francesco Uliana <[email protected]>
5+
6+
RUN pip install virtualenv
7+
8+
RUN apk add -U --no-cache git
9+
10+
COPY ./requirements.txt /app/requirements.txt
11+
RUN virtualenv /env && /env/bin/pip install --no-cache-dir -r /app/requirements.txt
12+
13+
VOLUME /app
14+
15+
VOLUME ["/opt/docker-compose-projects"]
16+
17+
COPY demo-projects /opt/docker-compose-projects
18+
19+
EXPOSE 5000
20+
21+
CMD []
22+
ENTRYPOINT ["/env/bin/python", "/app/main.py"]
23+
24+
WORKDIR /opt/docker-compose-projects/

0 commit comments

Comments
 (0)