freego_api/ui/Dockerfile
fry 209a4f5caf Board that corresponds to what the api gives us (#4)
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>
2022-03-16 21:46:20 -04:00

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"]