Skip to content

Commit 642a2b2

Browse files
committed
chore: update backend out dir
1 parent 962b1a7 commit 642a2b2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ frontend/.env
2020
#backend
2121
backend/src/credentials/*.json
2222
backend/.env
23-
backend/build
23+
backend/dist

.eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
backend/build
1+
backend/dist
22
backend/__migration__
33
docker

backend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"watch": "tsc --build --watch",
1010
"clean": "tsc --build --clean",
1111
"ts-check": "tsc --noEmit",
12-
"start": "npm run build && node ./build/server.js",
12+
"start": "npm run build && node ./dist/server.js",
1313
"test": "vitest run",
1414
"test-coverage": "vitest run --coverage",
1515
"dev": "concurrently \"tsx watch --clear-screen=false ./src/server.ts\" \"tsc --preserveWatchOutput --noEmit --watch\" \"npx eslint-watch \"./src/**/*.ts\"\"",

backend/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "@monkeytype/typescript-config/base.json",
33
"compilerOptions": {
4-
"outDir": "build",
4+
"outDir": "dist",
55
"target": "ES6",
66
"noImplicitAny": false,
77
"strictFunctionTypes": false,

docker/backend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN npm run build
2020
RUN npm install --install-strategy=nested --omit=dev --workspace=backend --ignore-scripts
2121

2222
## to build directory
23-
WORKDIR /app/backend/build
23+
WORKDIR /app/backend/dist
2424

2525
## logs
2626
RUN mkdir logs

docker/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
# read_only: true
4444
- type: bind
4545
source: ./backend-configuration.json
46-
target: /app/backend/build/backend-configuration.json
46+
target: /app/backend/dist/backend-configuration.json
4747
read_only: true
4848
depends_on:
4949
monkeytype-redis:

0 commit comments

Comments
 (0)