From 078e96ec2c57d2d1ebff0c08adc2534f0874c2a0 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Thu, 19 Jan 2023 19:00:56 -0800 Subject: [PATCH] Update .dockerignore Signed-off-by: James Ketrenos --- .dockerignore | 18 +++++++----------- Dockerfile | 4 +++- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.dockerignore b/.dockerignore index 40a0eb7..076e4b3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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 diff --git a/Dockerfile b/Dockerfile index a500626..88a03a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \