mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 15:36:58 +00:00
Fixing image url attempt #3
This commit is contained in:
parent
b628699f3a
commit
2ca44ffc90
@ -10,6 +10,7 @@ FROM node:alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY --from=deps /app/next.config.js ./next.config.js
|
||||
RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
|
@ -16,7 +16,11 @@ module.exports = withCommerceConfig({
|
||||
webpack5: true,
|
||||
},
|
||||
images: {
|
||||
domains: ['s3-eu-west-1.amazonaws.com']
|
||||
domains: [
|
||||
'localhost',
|
||||
'206.189.135.123',
|
||||
's3-eu-west-1.amazonaws.com'
|
||||
]
|
||||
},
|
||||
commerce,
|
||||
i18n: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user