deechael.net/Dockerfile
deechael 807ba6c1a4 chore: docker
chore: lock file
2024-09-19 21:36:51 +08:00

23 lines
352 B
Docker

FROM node:14
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"]