File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:16.04
2
- MAINTAINER Doro Wu <fcwu.tw@gmail.com>
3
-
4
- ENV DEBIAN_FRONTEND noninteractive
2
+ LABEL maintainer="fcwu.tw@gmail.com"
5
3
6
4
RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list
7
5
@@ -32,12 +30,13 @@ RUN apt-get update \
32
30
33
31
34
32
# tini for subreap
35
- ENV TINI_VERSION v0.9.0
33
+ ARG TINI_VERSION= v0.9.0
36
34
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini
37
35
RUN chmod +x /bin/tini
38
36
37
+ ADD image/usr/lib/web/requirements.txt /tmp/
38
+ RUN pip install setuptools wheel && pip install -r /tmp/requirements.txt
39
39
ADD image /
40
- RUN pip install setuptools wheel && pip install -r /usr/lib/web/requirements.txt
41
40
42
41
EXPOSE 80
43
42
WORKDIR /root
You can’t perform that action at this time.
0 commit comments