diff --git a/Dockerfile b/Dockerfile index 9d7a7ed..b801aa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,12 @@ WORKDIR /app COPY package*.json ./ -run npm config set registry https://mirror-npm.runflare.com +RUN npm config set registry https://mirror-npm.runflare.com && \ + npm install COPY . . ENV PORT=3000 - EXPOSE 3000 - -CMD ["npm", "start"] - - \ No newline at end of file +CMD ["npm", "start"] \ No newline at end of file