add docker image to run it in windows

This commit is contained in:
fluzzi32 committed 2023-12-06 17:46:10 -03:00
1 parent 3e32aa958c
commit 3d5db06343
7 files changed
+52 -3

No files matched your search

+21
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"]