Skip to content

Commit

Permalink
try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Nov 30, 2023
1 parent 483f21f commit 03c4e10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY . ./

RUN yarn install && yarn build
RUN npm install --legacy-peer-deps && npm run build --legacy-peer-deps

# Production image, copy all the files and run next
FROM node:18-alpine AS runner
Expand All @@ -26,10 +26,11 @@ COPY .env .
USER nextjs

EXPOSE 8000

ENV PORT 8000

# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
ENV NEXT_TELEMETRY_DISABLED 1

ENTRYPOINT ["sh", "-c", "node_modules/.bin/next start"]
CMD ["node_modules/.bin/next", "start"]

0 comments on commit 03c4e10

Please sign in to comment.