You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
428 B
21 lines
428 B
|
|
FROM python:3.8 |
|
|
|
WORKDIR / |
|
|
|
COPY requirements.txt . |
|
|
|
RUN pip install -r requirements.txt |
|
|
|
#RUN apt-get install build-essential libssl-dev libffi-dev python-dev |
|
|
|
COPY facebook_reactions.py . |
|
|
|
CMD [ "python", "./facebook_reactions.py" ] |
|
|
|
# BUILD: |
|
# docker buildx create --use |
|
#docker buildx build --platform linux/arm -t l3224/fb-reactions:pi --push . |
|
|
|
# START |
|
# docker run -it --name fb1 -v vol1:/data l3224/fb-reactions:latest |