Skip to content

Commit

Permalink
Change permissions for volumes, install certs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbloodsworth committed Feb 21, 2025
1 parent b6bcdd2 commit 008d6f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ FROM debian:bullseye-slim AS runtime
# Install runtime dependencies
RUN apt-get update \
&& apt-get -y install libsqlite3-0 \
&& apt -y install ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# Create a directory for runtime files
Expand Down
6 changes: 3 additions & 3 deletions start_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ fi

docker run \
--network=host \
--volume "$LEEKBOT/db:$APPDIR/db" \
--volume "$LEEKBOT/.env:$APPDIR/.env" \
--volume "$LEEKBOT/queries:$APPDIR/queries" \
--volume "$LEEKBOT/db:$APPDIR/db:Z" \
--volume "$LEEKBOT/.env:$APPDIR/.env:Z" \
--volume "$LEEKBOT/queries:$APPDIR/queries:Z" \
--detach \
--name "leekbot" \
$IMAGE

0 comments on commit 008d6f4

Please sign in to comment.