connpy/dockerfile

22 lines
426 B
Plaintext
Raw Normal View History

2023-12-06 17:46:10 -03:00
# Use the official python image
FROM python:3.11-alpine as connpy-app
# Set the entrypoint
# Set the working directory
WORKDIR /app
# Install any additional dependencies
RUN apk update && apk add --no-cache openssh fzf fzf-tmux ncurses bash
RUN pip3 install connpy
RUN connpy config --configfolder /app
#AUTH
RUN ssh-keygen -A
RUN mkdir /root/.ssh && \
chmod 700 /root/.ssh
#Set the entrypoint
ENTRYPOINT ["connpy"]