Skip to content

Commit 58f25a4

Browse files
committed
persisting buckets
1 parent 6a2d7dc commit 58f25a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ RUN apt-get update && apt-get install -y \
4141
# Copy binary from builder
4242
COPY --from=builder /app/target/release/fula-gateway /usr/local/bin/fula-gateway
4343

44-
# Create non-root user
45-
RUN useradd -r -s /bin/false fula
44+
# Create non-root user and data directory
45+
RUN useradd -r -s /bin/false fula && \
46+
mkdir -p /var/lib/fula-gateway && \
47+
chown fula:fula /var/lib/fula-gateway
4648
USER fula
4749

4850
# Expose port

0 commit comments

Comments
 (0)