diff --git a/Dockerfile b/Dockerfile index 01c2f23..340b147 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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