Skip to content

Commit

Permalink
getting pyperclip working
Browse files Browse the repository at this point in the history
  • Loading branch information
andrius committed Jan 22, 2024
1 parent e9bbabf commit 1656fd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Log in to GitHub docker registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username $ --password-stdin

- name: Setup docker builer instance
run: |
BUILDX="$(docker buildx create)"
echo "BUILDX=${BUILDX}" >> "${GITHUB_ENV}"
docker buildx use "${BUILDX}"
- name: Log in to GitHub docker registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${{ github.actor }} --password-stdin

- name: Build docker images
run: |
IMAGE_NAME="ghcr.io/${{ github.repository }}"
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ LABEL "org.opencontainers.image.authors"="41898282+github-actions[bot]@users.nor
LABEL "org.opencontainers.image.source"="https://github.com/andrius/chatgpt-cli"
LABEL "org.opencontainers.image.description"="chatgpt-cli client"

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
xclip \
xsel \
wl-clipboard \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY . ./
RUN pip install --no-cache-dir -r requirements.txt
Expand Down

0 comments on commit 1656fd9

Please sign in to comment.