10 lines
296 B
Docker
10 lines
296 B
Docker
FROM ubuntu:24.04
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates libssl3 git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN useradd --system --create-home appuser
|
|
WORKDIR /home/appuser
|
|
COPY ./target/release/git-hook /bin
|
|
USER appuser
|
|
EXPOSE 8083
|
|
CMD ["git-hook"] |