Skip to content

Commit c97ad8c

Browse files
committed
add migrations to dockerfile
1 parent d01b6e9 commit c97ad8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:22-alpine AS builder
33
COPY package*.json /app/
44
COPY tsconfig.json /app/
55
COPY src /app/src
6+
COPY migrations /app/migrations
67

78
WORKDIR /app
89

@@ -15,6 +16,7 @@ WORKDIR /app
1516
COPY --from=builder /app/dist /app/dist
1617
COPY --from=builder /app/package.json /app/package.json
1718
COPY --from=builder /app/package-lock.json /app/package-lock.json
19+
COPY --from=builder /app/migrations /app/migrations
1820

1921
ENV NODE_ENV=production
2022

0 commit comments

Comments
 (0)