Skip to content

Commit fcdad3b

Browse files
feat: fix dockerfile
1 parent e80dc6b commit fcdad3b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
FROM node:18-alpine AS base
1+
FROM node:18-slim AS base
22

33
# Install dependencies only when needed
44
FROM base AS deps
5-
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
6-
RUN apk add --no-cache libc6-compat
75
WORKDIR /app
86

97
# Install dependencies based on the preferred package manager

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"noEmit": true,
1414
"esModuleInterop": true,
1515
"module": "esnext",
16-
"moduleResolution": "node",
16+
"moduleResolution": "bundler",
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
1919
"jsx": "preserve",

0 commit comments

Comments
 (0)