Skip to content

Commit 0bc8329

Browse files
committed
Install dependencies as part of Docker build
1 parent f24d26f commit 0bc8329

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ FROM node:8.10
33
RUN echo '{"allow_root": true}' > /root/.bowerrc
44

55
WORKDIR /app
6-
ADD . /app
6+
7+
COPY package.json yarn.lock bower.json ./
8+
9+
RUN yarn --frozen-lockfile
10+
11+
COPY . /app
712

813
EXPOSE 3000

0 commit comments

Comments
 (0)