fry
209a4f5caf
Display what the API gives us as the board + pieces. Co-authored-by: David Frymoyer <david.frymoyer@gmail.com> Reviewed-on: #4 Co-authored-by: fry <david.frymoyer@gmail.com> Co-committed-by: fry <david.frymoyer@gmail.com>
19 lines
311 B
Docker
19 lines
311 B
Docker
FROM node:16 AS base
|
|
|
|
COPY package.json .
|
|
COPY package-lock.json .
|
|
RUN npm install
|
|
|
|
FROM base as dependencies
|
|
COPY pages /pages
|
|
COPY public /public
|
|
COPY styles /styles
|
|
COPY api /api
|
|
COPY components /components
|
|
COPY next* /
|
|
COPY tsconfig.json /
|
|
COPY types.ts /
|
|
|
|
EXPOSE 3000
|
|
RUN npm run build
|
|
CMD ["npm", "start"] |