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 !config
!db
!docker-compose.yml
!Dockerfile
!entrypoint.sh
!face.js
!frontend !frontend
!package.json
!package-lock.json
!password.js
!query.sh
!README.md
!reset-db.sh
!server !server
!scanner !scanner
!src !src
@ -19,6 +13,8 @@
!ketrface !ketrface
!client !client
!scripts !scripts
!Dockerfile
!entrypoint.sh
client/node_modules client/node_modules
server/node_modules server/node_modules

View File

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