Improve payload type checking in OCPP, UI and Broadcast Channel
[e-mobility-charging-stations-simulator.git] / docker / Dockerfile
index cb812347d7b0581c02aa065e1a1b311c6221ab5d..c5ac91aaefb97e8526147b0a58947fc697be7bdb 100644 (file)
@@ -10,7 +10,7 @@ RUN apk add --no-cache --virtual .gyp \
   python3 \
   && npm install \
   && apk del .gyp
-COPY tsconfig.json rollup.config.js ./
+COPY tsconfig.json rollup.config.mjs ./
 COPY src ./src
 COPY docker/config.json ./src/assets/config.json
 RUN npm run build
@@ -30,5 +30,5 @@ COPY README.md LICENSE ./
 COPY docker/autoconfig.sh /autoconfig.sh
 RUN chmod +x /autoconfig.sh
 
-#CMD ["node", "dist/start.js"]
-CMD /autoconfig.sh && node -r source-map-support/register dist/start.js
+#CMD ["node", "dist/start.cjs"]
+CMD /autoconfig.sh && node -r source-map-support/register dist/start.cjs