WalleGriffkinder commited on
Commit
5ad2c11
·
verified ·
1 Parent(s): 2ecc714

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,10 +4,10 @@ ENV TELEGRAM_API_ID=$TELEGRAM_API_ID
4
  ENV TELEGRAM_API_HASH=$TELEGRAM_API_HASH
5
  ENV TELEGRAM_LOCAL=true
6
 
7
- RUN apk add --no-cache openssh-client
8
 
9
- RUN groupadd -r appgroup && \
10
- useradd -r -g appgroup -m -s /bin/sh appuser
11
 
12
  RUN mkdir -p /app
13
  WORKDIR /app
 
4
  ENV TELEGRAM_API_HASH=$TELEGRAM_API_HASH
5
  ENV TELEGRAM_LOCAL=true
6
 
7
+ RUN apk add --no-cache openssh-client shadow
8
 
9
+ RUN addgroup -S appgroup && \
10
+ adduser -S -G appgroup -h /home/appuser -s /bin/sh appuser
11
 
12
  RUN mkdir -p /app
13
  WORKDIR /app