Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
SamratSahoo committed Sep 13, 2024
1 parent af27b40 commit 271326e
Show file tree
Hide file tree
Showing 4 changed files with 747 additions and 332 deletions.
9 changes: 6 additions & 3 deletions deletion-policy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ FROM node:18-alpine

WORKDIR /app

COPY ./package.json ./yarn.lock ./
RUN yarn install --frozen-lockfile
# Copy package.json and package-lock.json to the working directory
COPY ./package*.json ./

# Install dependencies
RUN npm install

COPY . .

CMD ["yarn", "start"]
CMD ["npm", "start"]
Loading

0 comments on commit 271326e

Please sign in to comment.