Skip to content

Commit 519703d

Browse files
committed
fix: update Dockerfile to remove frozen lockfile and modify image domains to remote patterns
1 parent 69c13e1 commit 519703d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Dockerfile.prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY package.json yarn.lock* ./
1010
COPY apps/web/package.json ./apps/web/
1111
COPY packages/ ./packages/
1212

13-
RUN yarn install --frozen-lockfile --ignore-scripts
13+
RUN yarn install --ignore-scripts
1414

1515
# Stage 2: Rebuild the source code only when needed
1616
FROM base AS builder

apps/web/next.config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,18 @@ module.exports = {
2525

2626
transpilePackages: ["@repo/ui", "@repo/common", "@repo/recoil"],
2727
images: {
28-
domains: ["d2szwvl7yo497w.cloudfront.net", "appx-wsb-gcp.akamai.net.in"], // Add your domain here
28+
remotePatterns: [
29+
{
30+
protocol: 'https',
31+
hostname: 'd2szwvl7yo497w.cloudfront.net',
32+
pathname: '**',
33+
},
34+
{
35+
protocol: 'https',
36+
hostname: 'appx-wsb-gcp.akamai.net.in',
37+
pathname: '**',
38+
},
39+
],
2940
},
3041
output: "standalone",
3142
};

0 commit comments

Comments
 (0)