mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +02:00
fix(docker): permissions
This commit is contained in:
parent
978eb92781
commit
036cbaf47e
@ -16,7 +16,8 @@ COPY --link . .
|
||||
FROM node:18-alpine AS runner
|
||||
RUN apk --no-cache add curl \
|
||||
&& adduser --disabled-password --home /home/container container \
|
||||
&& mkdir /app
|
||||
&& mkdir /app \
|
||||
&& chmod -R 777 /app
|
||||
USER container
|
||||
ENV USER=container \
|
||||
HOME=/home/container \
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ "$DOCKER" = "true" ]; then
|
||||
base_dir="/app"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user