Skip to content

Commit 9a9a364

Browse files
committed
ci: dockerfile
1 parent bcff177 commit 9a9a364

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,3 @@ docs
6262
.nyc_output
6363
.eslintrc*
6464
.prettierrc*
65-
tsconfig.json

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ COPY package*.json ./
99
# Copy source code
1010
COPY src ./
1111

12+
COPY tsconfig.json ./
13+
1214
# Install dependencies
1315
RUN npm i
1416

15-
1617
# Build the application
1718
RUN npm run build
1819

@@ -21,12 +22,6 @@ FROM node:22-alpine
2122

2223
WORKDIR /app
2324

24-
# Copy package files
25-
COPY package*.json ./
26-
27-
# Install production dependencies
28-
RUN npm i
29-
3025
# Copy built application
3126
COPY --from=builder /app/dist ./dist
3227

0 commit comments

Comments
 (0)