We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2d7dc commit 58f25a4Copy full SHA for 58f25a4
Dockerfile
@@ -41,8 +41,10 @@ RUN apt-get update && apt-get install -y \
41
# Copy binary from builder
42
COPY --from=builder /app/target/release/fula-gateway /usr/local/bin/fula-gateway
43
44
-# Create non-root user
45
-RUN useradd -r -s /bin/false fula
+# Create non-root user and data directory
+RUN useradd -r -s /bin/false fula && \
46
+ mkdir -p /var/lib/fula-gateway && \
47
+ chown fula:fula /var/lib/fula-gateway
48
USER fula
49
50
# Expose port
0 commit comments