diff --git a/feedmee/Dockerfile b/feedmee/Dockerfile index 57fbe9a..ec8b0b9 100644 --- a/feedmee/Dockerfile +++ b/feedmee/Dockerfile @@ -24,8 +24,7 @@ FROM base AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . -# This will do the trick, use the corresponding env file for each environment. -COPY .env.production.sample .env.production + RUN npm run build # 3. Production image, copy all the files and run next