diff --git a/Dockerfile b/Dockerfile index 53546cb..088d5c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM node:19-alpine WORKDIR /app +COPY package*.json ./ +RUN npm install --production COPY . . ENV NODE_ENV production EXPOSE 8080 -CMD node server.js \ No newline at end of file +CMD ["node", "server.js"] \ No newline at end of file