Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Yarn 3.6.0 changes
  • Loading branch information
arul-fourseals authored Dec 9, 2024
1 parent 9d4ff5e commit a515f85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ COPY tsconfig*.json ./
COPY package*.json ./

# Install dependencies
RUN corepack enable
RUN corepack prepare [email protected] --activate
RUN yarn install --immutable

# Copy application sources (.ts, .tsx, js)
Expand All @@ -34,4 +36,4 @@ COPY --from=development /app/dist/ ./dist/
EXPOSE 3000

# Start application
CMD [ "node", "dist/main.js" ]
CMD [ "node", "dist/main.js" ]

0 comments on commit a515f85

Please sign in to comment.