Skip to content

Commit 036cbaf

Browse files
committed
fix(docker): permissions
1 parent 978eb92 commit 036cbaf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ COPY --link . .
1616
FROM node:18-alpine AS runner
1717
RUN apk --no-cache add curl \
1818
&& adduser --disabled-password --home /home/container container \
19-
&& mkdir /app
19+
&& mkdir /app \
20+
&& chmod -R 777 /app
2021
USER container
2122
ENV USER=container \
2223
HOME=/home/container \

scripts/start.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
23
if [ "$DOCKER" = "true" ]; then
34
base_dir="/app"
45
else

0 commit comments

Comments
 (0)