Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Jul 14, 2022
1 parent 3832bcc commit c9a730a
Show file tree
Hide file tree
Showing 3 changed files with 1,946 additions and 1,589 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM node:18.0.0-alpine as builder
FROM node:18-alpine as builder
WORKDIR /app

COPY package.json package-lock.json .npmrc ./
# overrides field on package.json is not allowd npm ci command...
RUN npm i && npm update

FROM node:18.0.0-alpine
FROM node:18-alpine
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH

COPY . .
COPY --from=builder /app/node_modules ./node_modules

ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED=1
ENV NODE_ENV=production

RUN npm run build

Expand Down
Loading

0 comments on commit c9a730a

Please sign in to comment.