fry
0339acaaba
Add the basic setup files for a nextjs interface. Need to set up the board and all that. Should be able to get going with `docker-compose up ui` then you'll see a webpage that's just an input on localhost:3000 Co-authored-by: David Frymoyer <david.frymoyer@gmail.com> Reviewed-on: #1 Co-authored-by: fry <david.frymoyer@gmail.com> Co-committed-by: fry <david.frymoyer@gmail.com>
17 lines
281 B
Docker
17 lines
281 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 components /components
|
|
COPY next* /
|
|
COPY tsconfig.json /
|
|
|
|
EXPOSE 3000
|
|
RUN npm run build
|
|
CMD ["npm", "start"] |