diff --git a/Dockerfile b/Dockerfile
index 5c8477e17784c9ba902611371dc39272f823bc5b..653c36c80502fcf5f35f8eeac3423fd387753029 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:14.15-alpine as build-stage
+FROM node:14-alpine as build-stage
 WORKDIR /app
 
 COPY package*.json ./
@@ -10,7 +10,7 @@ COPY dev dev/
 COPY knex knex/
 RUN npm run build
 
-FROM node:14.15-alpine as production-stage
+FROM node:14-alpine as production-stage
 WORKDIR /app
 
 # redirige les logs sur le collecteur de logs docker
@@ -25,5 +25,6 @@ COPY --from=build-stage /app/knex ./knex
 COPY --from=build-stage /app/dev ./dev
 # nous avons besoin des sources pour lancer certains scripts manuellement
 COPY --from=build-stage /app/src ./src
+COPY --from=build-stage /app/tsconfig.json ./
 
 CMD ["npm", "start"]
diff --git a/tsconfig.json b/tsconfig.json
index cd60a2f437e0bdec1ed166a6fa2fa80e02abe143..6d7df04b1f468e62ff8ed98ea0c16b2f3ef019b3 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,7 +3,7 @@
     "allowJs": true,
     "alwaysStrict": true,
     "inlineSources": true,
-    "lib": ["esnext"],
+    "lib": ["es2020"],
     "module": "commonjs",
     "moduleResolution": "node",
     "noFallthroughCasesInSwitch": true,