hellowhales

Add Dockerfile

1 +FROM node:14
2 +
3 +LABEL title="TFT-Webserver"
4 +LABEL version="1.01"
5 +
6 +# set working directory
7 +WORKDIR /app
8 +
9 +# install modules and dependencies
10 +COPY package*.json ./
11 +RUN npm install
12 +
13 +# copy source codes
14 +COPY ./ ./
15 +
16 +# port-forward
17 +EXPOSE 8484
18 +
19 +#start application
20 +CMD [ "npm", "start" ]
...\ No newline at end of file ...\ No newline at end of file
1 +.DS_Store
2 +thumbs.db
3 +*.log
4 +node_modules/
...\ No newline at end of file ...\ No newline at end of file