remove typescript from final docker image

This commit is contained in:
Robin Appelman 2020-12-05 18:42:40 +01:00
commit 4a1d3ea43c
2 changed files with 4 additions and 3 deletions

View file

@ -28,6 +28,7 @@ COPY tsconfig.json ./
COPY src/ ./src/
RUN npm run build
RUN rm -r node_modules/typescript
FROM node:alpine

View file

@ -17,11 +17,11 @@
"mx-puppet-bridge": "0.1.0-1",
"steam-user": "4.18.0",
"steamcommunity": "3.42.0",
"steamid": "1.1.3",
"typescript": "^4.1.2"
"steamid": "1.1.3"
},
"devDependencies": {
"@types/node": "^14.14.10",
"@types/steamid": "^1.1.0"
"@types/steamid": "^1.1.0",
"typescript": "^4.1.2"
}
}