Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Dockerfile #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /tmp


# dependencies for libnfc
RUN apt update && apt install -y autoconf pcsc-tools pcscd libpcsclite-dev libpcsclite1 libusb-dev wget build-essential git pkg-config
RUN apt-get update && apt-get install -y autoconf pcsc-tools pcscd libpcsclite-dev libpcsclite1 libusb-dev wget build-essential git pkg-config
RUN apt-get install -y libpcsclite-dev libpcsclite1 pcsc-tools pcscd
RUN apt-get install -y automake autoconf libtool libusb-dev

Expand All @@ -25,14 +25,14 @@ RUN cd mfoc && autoreconf -is && ./configure && make && make install
# dependencies for running the python script
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt update
RUN apt install -y python3.7 python3-pip
RUN apt-get update
RUN apt-get install -y python3.7 python3-pip


WORKDIR /app

COPY . .

RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements.txt

CMD python3 RFID_mifare_cloner/rfid_mifare_cloner.py