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 5c82534 commit b15175c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ RUN npm run build

# Stage 2: Development Stage
FROM base AS development
ENV NODE_ENV=development
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 . .
RUN npm run build
CMD [ "npm", "jest", "--coverage" ]

# # Stage 4: Build Stage
Expand Down

0 comments on commit b15175c

Please sign in to comment.