Update .dockerignore

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2023-01-19 19:00:56 -08:00
parent 5cc6209d5c
commit 078e96ec2c
2 changed files with 10 additions and 12 deletions

View File

@ -1,17 +1,11 @@
*
!*.json
!*.html
!*.js
!*.sh
!*.md
!config
!db
!docker-compose.yml
!Dockerfile
!entrypoint.sh
!face.js
!frontend
!package.json
!package-lock.json
!password.js
!query.sh
!README.md
!reset-db.sh
!server
!scanner
!src
@ -19,6 +13,8 @@
!ketrface
!client
!scripts
!Dockerfile
!entrypoint.sh
client/node_modules
server/node_modules

View File

@ -11,6 +11,9 @@ RUN DEBIAN_FRONTEND=NONINTERACTIVE apt-get install -y \
# Upgrade Node
RUN wget -qO- https://deb.nodesource.com/setup_18.x | bash -
RUN DEBIAN_FRONTEND=NONINTERACTIVE apt-get install -y \
nodejs
# Install the latest npm and npx
RUN npm install --global npm@latest
@ -46,7 +49,6 @@ RUN DEBIAN_FRONTEND=NONINTERACTIVE apt-get install -y \
sqlite3 \
python2 \
jhead \
nodejs \
jq \
nano \
shellinabox \