Skip to content

Commit

Permalink
chore(docker): add libxdo3
Browse files Browse the repository at this point in the history
  • Loading branch information
developerfred committed Nov 25, 2024
1 parent 11bbee7 commit 32199fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

FROM rustlang/rust:nightly as builder


Expand All @@ -10,6 +9,7 @@ RUN apt-get update && apt-get install -y \
libayatana-appindicator3-dev \
librsvg2-dev \
cmake \
libxdo-dev \ # Adicionando a dependência libxdo
&& rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app
Expand Down Expand Up @@ -46,10 +46,11 @@ RUN apt-get update && apt-get install -y \
libgtk-3-0 \
curl \
librsvg2-2 \
libxdo3 \
&& rm -rf /var/lib/apt/lists/*


COPY --from=builder /usr/src/app/target/release/url-to-png-service /usr/local/bin/
COPY --from=builder /usr/src/app/target/release/titanium /usr/local/bin/

EXPOSE 3000

Expand Down

0 comments on commit 32199fa

Please sign in to comment.