16 lines
357 B
Docker
16 lines
357 B
Docker
FROM node:16.13.1-alpine
|
|
|
|
WORKDIR /usr/app
|
|
|
|
COPY package.json yarn.lock ./
|
|
|
|
ENV NEXT_TELEMETRY_DISABLED 1
|
|
RUN yarn --frozen-lockfile
|
|
|
|
COPY public ./public
|
|
COPY src ./src
|
|
COPY styles ./styles
|
|
COPY .eslintrc.json postcss.config.js tailwind.config.js ./
|
|
|
|
CMD ["sh", "-c", "env | grep -E 'NEXT_PUBLIC|STRIPE|ACCOUNTS' > .env.local && yarn build && yarn start"]
|