try to use tsconfig instead

This commit is contained in:
Ulf Gebhardt 2021-10-09 14:29:17 +02:00
parent 4988a9c2e4
commit 20db890ac7
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 1 additions and 5 deletions

View File

@ -64,14 +64,10 @@ FROM base as build
COPY ./backend/ ./ COPY ./backend/ ./
# Also copy external enities from database # Also copy external enities from database
COPY ./database/entity/ ../database/entity/ COPY ./database/entity/ ../database/entity/
# RUN mkdir -p ../node_modules/
# RUN sudo mount -o bind ./node_modules ../node_modules/
# npm install # npm install
RUN yarn install --production=false --frozen-lockfile --non-interactive RUN yarn install --production=false --frozen-lockfile --non-interactive
COPY ./node_modules ../node_modules
# npm build # npm build
RUN yarn run build RUN yarn run build

View File

@ -47,7 +47,7 @@
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ "rootDirs": [".", "../database"], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */ // "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */ // "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */