File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,19 @@ FROM node
3
3
# Set the working directory to /app
4
4
WORKDIR /app
5
5
6
- ENV DOCKERVERSION=19.03.12
7
- RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
8
- && tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
9
- && rm docker-${DOCKERVERSION}.tgz
10
-
11
6
COPY package*.json ./
12
7
13
8
# Run npm install to install app dependencies
14
9
RUN npm install
15
10
11
+ # Set the PATH env variable
12
+ # ENV PATH="/usr/local/bin:${PATH}"
13
+ # COPY /usr/local/bin/docker /usr/local/bin/docker
14
+ ENV DOCKERVERSION=19.03.12
15
+ RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
16
+ && tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
17
+ && rm docker-${DOCKERVERSION}.tgz
18
+
16
19
# Copy the current directory contents into the container at /app
17
20
COPY . .
18
21
You can’t perform that action at this time.
0 commit comments