We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cca93 commit b3823adCopy full SHA for b3823ad
Dockerfile
@@ -3,5 +3,4 @@ RUN pip install Flask==0.11.1 redis==2.10.5
3
RUN useradd -ms /bin/bash admin
4
USER admin
5
WORKDIR /app
6
-COPY app /app
7
CMD ["python", "app.py"]
docker-compose.yml
@@ -0,0 +1,11 @@
1
+version: '2'
2
+services:
+ dockerapp:
+ build: .
+ ports:
+ - "5000:5000"
+ volumes:
8
+ - ./app:/app
9
+
10
+ redis:
11
+ image: redis:3.2.0
0 commit comments