diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 8ed4a17..19515f5 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,7 +1,8 @@ FROM node WORKDIR /app -COPY * /app/ +COPY . /app/ RUN npm i +RUN npm run build RUN chmod +x /app/entrypoint.sh ENTRYPOINT ["/app/entrypoint.sh"] -CMD ["node", "server.js"] +CMD ["npm", "start"]