diff --git a/Dockerfile b/Dockerfile index 0eaa4de..bccdbb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ -FROM node:14 -RUN mkdir /app +FROM node:14-alpine WORKDIR /app -COPY package.json /app -COPY yarn.lock /app +COPY . . RUN yarn --production --pure-lockfile -COPY . /app EXPOSE 3000 -CMD yarn start +CMD yarn start \ No newline at end of file