Skip to content

Commit 3ae8e59

Browse files
robbyoconnorCompuIves
authored andcommitted
Dockerfile: use COPY vs ADD; use of MAINTAINER is deprecated (codesandbox#150)
1 parent ea3e563 commit 3ae8e59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.prod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM node:8.2.1
2-
MAINTAINER Ives van Hoorne
2+
LABEL maintainer "Ives van Hoorne"
33

4-
ADD package.json /app/package.json
5-
ADD yarn.lock /app/yarn.lock
4+
COPY package.json /app/package.json
5+
COPY yarn.lock /app/yarn.lock
66

77
WORKDIR /app
88
RUN yarn install

0 commit comments

Comments
 (0)