mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
try to use tsconfig instead
This commit is contained in:
parent
4988a9c2e4
commit
20db890ac7
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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. */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user