summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
-rw-r--r--package.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 757e47c..fc27a06 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,8 +8,8 @@ ENV GID=992
 
 WORKDIR /barkeep
 
-RUN addgroup -g ${GID} barkeep \
- && adduser -h /barkeep -s /bin/sh -D -G barkeep -u ${UID} barkeep
+RUN addgroup --gid ${GID} barkeep \
+ && adduser --home /barkeep --shell /bin/sh --disabled-login --ingroup barkeep --uid ${UID} barkeep
 
 COPY package.json index.js yarn.lock /barkeep/
 
diff --git a/package.json b/package.json
index b0283a7..8957541 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
   "license": "MIT",
   "dependencies": {
     "mastodon": "^1.2.2",
-    "pg": "^7.4.1",
-    "pm2": "^2.10.2"
+    "pg": "^7.4.3",
+    "pm2": "^2.10.4"
   },
   "scripts": {
     "start": "pm2 start --no-daemon index.js --restart-delay 10000",