updated the whole structure

This commit is contained in:
2023-10-01 03:19:25 +02:00
parent 9887a6f445
commit e994c5a865
252 changed files with 7442 additions and 1913 deletions

20
app-rappaurio/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# pull the Node.js Docker image
FROM node:alpine
# create the directory inside the container
WORKDIR /usr/src/app
# copy the package.json files from local machine to the workdir in container
COPY package*.json ./
# run npm install in our local machine
RUN npm install
# copy the generated modules and all other files to the container
COPY . .
# our app is running on port 5000 within the container, so need to expose it
EXPOSE 5000
# the command that starts our app
CMD ["npm", "start"]