Skip to content

Commit e5307f6

Browse files
committed
chore(api/Dockerfile): Enable corepack and prepare Yarn 4.9.1
1 parent 0cbd319 commit e5307f6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/api/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ WORKDIR /app
1818

1919
# Install dependencies
2020
COPY --from=builder /app/out/json/ .
21+
# Enable corepack to use the correct Yarn version
22+
RUN corepack enable
23+
RUN corepack prepare yarn@4.9.1 --activate
2124
RUN yarn install
2225

2326
# Build the project

apps/api/src/controllers/ShowcaseController.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class ShowcaseController {
3131
res.send(showcases);
3232
}
3333

34-
// dd
35-
3634
public async getAllShowcases(req: Request, res: Response) {
3735
const errors = validationResult(req);
3836
if (!errors.isEmpty()) {

0 commit comments

Comments
 (0)