mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
chore: update backend out dir
This commit is contained in:
parent
962b1a79ec
commit
642a2b22a1
6 changed files with 6 additions and 6 deletions
|
@ -20,4 +20,4 @@ frontend/.env
|
|||
#backend
|
||||
backend/src/credentials/*.json
|
||||
backend/.env
|
||||
backend/build
|
||||
backend/dist
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
backend/build
|
||||
backend/dist
|
||||
backend/__migration__
|
||||
docker
|
|
@ -9,7 +9,7 @@
|
|||
"watch": "tsc --build --watch",
|
||||
"clean": "tsc --build --clean",
|
||||
"ts-check": "tsc --noEmit",
|
||||
"start": "npm run build && node ./build/server.js",
|
||||
"start": "npm run build && node ./dist/server.js",
|
||||
"test": "vitest run",
|
||||
"test-coverage": "vitest run --coverage",
|
||||
"dev": "concurrently \"tsx watch --clear-screen=false ./src/server.ts\" \"tsc --preserveWatchOutput --noEmit --watch\" \"npx eslint-watch \"./src/**/*.ts\"\"",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"extends": "@monkeytype/typescript-config/base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "build",
|
||||
"outDir": "dist",
|
||||
"target": "ES6",
|
||||
"noImplicitAny": false,
|
||||
"strictFunctionTypes": false,
|
||||
|
|
|
@ -20,7 +20,7 @@ RUN npm run build
|
|||
RUN npm install --install-strategy=nested --omit=dev --workspace=backend --ignore-scripts
|
||||
|
||||
## to build directory
|
||||
WORKDIR /app/backend/build
|
||||
WORKDIR /app/backend/dist
|
||||
|
||||
## logs
|
||||
RUN mkdir logs
|
||||
|
|
|
@ -43,7 +43,7 @@ services:
|
|||
# read_only: true
|
||||
- type: bind
|
||||
source: ./backend-configuration.json
|
||||
target: /app/backend/build/backend-configuration.json
|
||||
target: /app/backend/dist/backend-configuration.json
|
||||
read_only: true
|
||||
depends_on:
|
||||
monkeytype-redis:
|
||||
|
|
Loading…
Reference in a new issue