Skip to content

Commit d991282

Browse files
committed
chore: fix build
1 parent 9ce88ec commit d991282

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

usage-statistics/.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/src/prisma
2+
/node_modules
3+
/dist
4+
/.env

usage-statistics/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ COPY . .
66

77
RUN corepack enable
88
RUN yarn install --immutable
9+
RUN cp .env.example .env
910
RUN yarn build
11+
RUN rm .env.* .env
1012

1113
CMD ["node", "dist/main.js"]
1214

0 commit comments

Comments
 (0)