Skip to content

Commit

Permalink
#334 Fix file permissions (#349)
Browse files Browse the repository at this point in the history
* #344 Fix file permissions

* #334 Fix file permissions
  • Loading branch information
docktermj authored Oct 21, 2024
1 parent 64474ba commit f73298b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,19 @@ COPY ./rootfs /

COPY --from=builder "/output/linux/serve-grpc" "/app/serve-grpc"

# Prepare environment file system.

RUN chmod --recursive 777 /tmp

# Run as non-root container

USER 1001

# Runtime environment variables.

ENV LD_LIBRARY_PATH=/opt/senzing/er/lib/
ENV SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@nowhere/tmp/sqlite/G2C.db?mode=memory&cache=shared
ENV SENZING_TOOLS_ENABLE_ALL=true
ENV LD_LIBRARY_PATH=/opt/senzing/er/lib/

# Runtime execution.

Expand Down

0 comments on commit f73298b

Please sign in to comment.