Added backend and moved things

This commit is contained in:
cami 2021-05-07 02:16:54 +02:00
parent fad61c4d93
commit 395b3f1e54
27 changed files with 278 additions and 15 deletions

19
frontend/Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM node:latest
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
COPY package.json ./
COPY package-lock.json ./
RUN npm install --silent
# add app
COPY . ./
# start app
CMD ["npm", "start"]