diff --git a/Dockerfile b/Dockerfile index cdb92a8..ab02b2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,8 @@ COPY . . EXPOSE 3000 RUN chown -R node /usr/src/app USER node + +# Build the app +RUN npm run build + CMD ["npm", "start"]