Skip to content

Commit

Permalink
Ptosiek/use-containerからのプルリクエスト#39をマージする
Browse files Browse the repository at this point in the history
add Containerfile
  • Loading branch information
hishizuka authored Oct 8, 2023
2 parents 7324b0e + be4dd42 commit 8a77feb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3.11.6-slim-bookworm

RUN apt update
RUN apt install -y gcc git libsqlite3-dev python3-pyqt5 sqlite3

WORKDIR /opt

COPY ./reqs/full.txt .
RUN python -m pip install -r full.txt
# still needed
RUN python -m pip install PyQt5

ENTRYPOINT ["python", "pizero_bikecomputer.py"]

0 comments on commit 8a77feb

Please sign in to comment.