diff --git a/docker-compose.yaml b/docker-compose.yaml index 6d9380b8..d691f204 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -19,7 +19,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock front: - image: thecodingmachine/nodejs:12 + image: thecodingmachine/nodejs:14 environment: DEBUG_MODE: "$DEBUG_MODE" HOST: "0.0.0.0" diff --git a/front/Dockerfile b/front/Dockerfile index ee15270e..c5c605a8 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -1,5 +1,5 @@ # we are rebuilding on each deploy to cope with the API_URL environment URL -FROM thecodingmachine/nodejs:12-apache +FROM thecodingmachine/nodejs:14-apache COPY --chown=docker:docker . . RUN yarn install diff --git a/front/tsconfig.json b/front/tsconfig.json index 9a140744..b0eac1c0 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -3,7 +3,7 @@ "outDir": "./dist/", "sourceMap": true, "moduleResolution": "node", - "module": "ESNext", + "module": "CommonJS", "target": "ES2015", "downlevelIteration": true, "jsx": "react",