File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.6.2
1
+ FROM python:3.6.3
2
2
3
3
# -- Install Pipenv:
4
- RUN pip install pipenv --upgrade
4
+ RUN set -ex && pip install pipenv --upgrade
5
5
6
6
# -- Install Application into container:
7
- RUN mkdir /app
7
+ RUN set -ex && mkdir /app
8
+
8
9
WORKDIR /app
9
10
11
+ # -- Adding Pipfiles
12
+ ONBUILD COPY Pipfile Pipfile
13
+ ONBUILD COPY Pipfile.lock Pipfile.lock
14
+
15
+ # -- Install dependencies:
16
+ ONBUILD RUN set -ex && pipenv install --deploy --system
17
+
10
18
# --------------------
11
19
# - Using This File: -
12
20
# --------------------
13
21
14
22
# FROM kennethreitz/pipenv
15
23
16
- # COPY Pipfile Pipfile
17
- # COPY Pipfile.lock Pipfile.lock
18
24
# COPY . /app
19
-
20
- # -- Install dependencies:
21
- # RUN pipenv install --deploy --system
22
-
23
- ENTRYPOINT []
24
- CMD [ "/bin/bash" ]
You can’t perform that action at this time.
0 commit comments