Skip to content

Commit

Permalink
bot: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Oct 25, 2024
1 parent bc78e3a commit 69503c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ EXPOSE 3000
CMD ["npm", "run", "dev"]

# Stage 3: Test Stage
FROM base AS test
ENV NODE_ENV=test
FROM node:20-alpine AS test
WORKDIR /app
# COPY ./package-lock.json /app
COPY ./package.json /app
RUN npm install
COPY . .
CMD [ "npx", "jest", "--coverage" ]

# # Stage 4: Build Stage
Expand Down

0 comments on commit 69503c6

Please sign in to comment.