ADD: added new version

This commit is contained in:
Henry Winkel
2023-09-27 18:53:42 +02:00
parent 8587d1d664
commit 7a2a472e5a
214 changed files with 17659 additions and 73645 deletions

26
webapp/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
# pull official base image
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 --force
RUN apt-get update
RUN apt-get upgrade
RUN apt-get -y install tcpdump nano netcat-openbsd curl
# RUN npm install react-scripts@3.4.1 -g --silent
# add app
COPY . .
# Uses port which is used by the actual application
# EXPOSE 8000
# start app
CMD ["npm", "start"]