diff --git a/Dockerfile b/Dockerfile index 5e452b0..a9c0349 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,8 @@ WORKDIR /app COPY package*.json ./ RUN npm ci --silent COPY . . - -EXPOSE 5173 \ No newline at end of file +RUN npm run build +EXPOSE 5173 +COPY docker-entrypoint.sh /usr/local/bin/ +ENTRYPOINT ["docker-entrypoint.sh"] +CMD ["node", "dist/main.js"]