Skip to content

Commit 8c60e99

Browse files
committed
optimize Docker layering; ifurther discourage FS migration
1 parent d2d3b31 commit 8c60e99

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.README.md.swp

24 KB
Binary file not shown.

mod4a-rundocker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM python:2-slim
22
WORKDIR /app
3-
COPY . .
43
RUN pip install -r requirements.txt
4+
COPY . .
55
ENTRYPOINT exec gunicorn -b :$PORT -w 2 main:app

mod4b-rundocker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM python:3-slim
22
WORKDIR /app
3-
COPY . .
43
RUN pip install -r requirements.txt
4+
COPY . .
55
ENTRYPOINT exec gunicorn -b :$PORT -w 2 main:app

0 commit comments

Comments
 (0)