aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/Dockerfile
blob: a99e1fe183445f2012c684612c3c09788bc0bb78 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                 
                                 



                                                
                                      

                
                                     
FROM alpine:3.10

RUN apk add --no-cache git openssh-client python3

ARG ssh_sock_dir=/var/run/cgitize
ARG ssh_sock_path="$ssh_sock_dir/ssh-agent.sock"

ENV SSH_AUTH_SOCK "$ssh_sock_path"

COPY ["cgitize/", "/usr/src/cgitize/"]
WORKDIR /usr/src

CMD ["python3", "-m", "cgitize.main"]