23 lines
352 B
Docker
23 lines
352 B
Docker
FROM node:18
|
|
|
|
WORKDIR /run
|
|
|
|
COPY package*.json ./
|
|
COPY components ./components
|
|
COPY styles ./styles
|
|
COPY app ./app
|
|
COPY config ./config
|
|
COPY types ./types
|
|
COPY public ./public
|
|
COPY next.config.js .
|
|
COPY tsconfig.json .
|
|
COPY postcss.config.js .
|
|
COPY tailwind.config.js .
|
|
|
|
RUN npm install
|
|
|
|
RUN npm run build
|
|
RUN npm run start
|
|
|
|
# CMD ["node", "index.js"]
|