Compare commits

...

6 Commits

3 changed files with 16 additions and 5 deletions

View File

@ -1,6 +1,6 @@
FROM node:alpine
WORKDIR /app
COPY ./package.json ./
RUN npm i
RUN yarn
COPY ./ ./
ENTRYPOINT [ "yarn","dev" ]

View File

@ -12,9 +12,12 @@ services:
DB_USER: lfk
DB_PASSWORD: changeme
DB_NAME: lfk
NODE_ENV: production
backend_db:
image: postgres:11-alpine
environment:
POSTGRES_DB: lfk
POSTGRES_PASSWORD: changeme
POSTGRES_USER: lfk
POSTGRES_USER: lfk
ports:
- 5432:5432

View File

@ -1,12 +1,20 @@
{
"compilerOptions": {
"target": "es2017",
"target": "ES2020",
"module": "commonjs",
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"strict": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
"emitDecoratorMetadata": true,
"sourceMap": false
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}