X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docker%2FDockerfile;h=c5ac91aaefb97e8526147b0a58947fc697be7bdb;hb=53e5fd67dea2dd83ec9c34d963dd6e502ec46f5c;hp=cb812347d7b0581c02aa065e1a1b311c6221ab5d;hpb=251fff5c7fd6f92c1f1acb921233c7e9c7c89003;p=e-mobility-charging-stations-simulator.git diff --git a/docker/Dockerfile b/docker/Dockerfile index cb812347..c5ac91aa 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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