chore: add next.js docker image

This commit is contained in:
swve 2022-12-22 22:38:03 +01:00
parent 9321a35302
commit 193b3b289f
2 changed files with 23 additions and 0 deletions

17
front/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
#
FROM node:16-alpine
#
WORKDIR /usr/learnhouse/front
#
COPY package.json /usr/learnhouse/front/package.json
#
RUN npm install
#
COPY ./ /usr/learnhouse
#
CMD ["npm", "run", "dev"]