Skip to content

Commit b3303fa

Browse files
committed
More layers.
1 parent 7e8c943 commit b3303fa

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

Dockerfile

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
FROM node:10.4.0
22

3-
# Install Python.
4-
RUN apt-get update && apt-get install -y \
5-
python2.7 \
6-
python-pip \
7-
&& rm -rf /var/lib/apt/lists/* \
8-
&& pip install -U "tox" \
9-
&& npm i npm
10-
11-
# Define working directory.
12-
WORKDIR /src
13-
14-
# Define default command.
15-
CMD ["bash"]
3+
RUN apt-get update && apt-get install -y python2.7 python-pip && \
4+
rm -rf /var/lib/apt/lists/*
5+
RUN pip install -U "tox"
6+
RUN npm install npm

0 commit comments

Comments
 (0)