add docker image to run it in windows

This commit is contained in:
2023-12-06 17:46:10 -03:00
parent 3e32aa958c
commit 3d5db06343
7 changed files with 52 additions and 3 deletions

21
dockerfile Normal file
View File

@ -0,0 +1,21 @@
# 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"]