root@stark:/opt/docker/ramiro# docker build /opt/data/temporalxd
Sending build context to Docker daemon 3.072kB
Step 1/2 : FROM ubuntu:latest
latest: Pulling from library/ubuntu
7b1a6ab2e44d: Pull complete
Digest: sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322
Status: Downloaded newer image for ubuntu:latest
---> ba6acccedd29
Step 2/2 : RUN /opt/data/temporalxd/periodic_get_img.py
---> Running in 39fc42785806
/bin/sh: 1: /opt/data/temporalxd/periodic_get_img.py: not found
The command '/bin/sh -c /opt/data/temporalxd/periodic_get_img.py' returned a non-zero code: 127
root@stark:/opt/docker/ramiro# docker build /opt/data/temporalxd
Sending build context to Docker daemon 3.072kB
Step 1/3 : FROM ubuntu:latest
---> ba6acccedd29
Step 2/3 : RUN /opt/data/temporalxd/periodic_get_img.py
---> Running in e19b70fa3544
/bin/sh: 1: /opt/data/temporalxd/periodic_get_img.py: not found
The command '/bin/sh -c /opt/data/temporalxd/periodic_get_img.py' returned a non-zero code: 127
root@stark:/opt/docker/ramiro# docker build /opt/data/temporalxd
Sending build context to Docker daemon 3.072kB
Step 1/4 : FROM python:3.8
3.8: Pulling from library/python
5e0b432e8ba9: Pull complete
a84cfd68b5ce: Pull complete
e8b8f2315954: Pull complete
0598fa43a7e7: Pull complete
83098237b6d3: Pull complete
b92c73d4de9a: Pull complete
ef9b6ee59783: Pull complete
c1f6285e6406: Pull complete
a0ee73333012: Pull complete
Digest: sha256:881e0df149c29af8b29a973a9e80814dae6cddf123fe38a0bcac71864c85fb8a
Status: Downloaded newer image for python:3.8
---> f746089c9d02
Step 2/4 : ADD /opt/data/temporalxd/periodic_get_img.py /
ADD failed: file not found in build context or excluded by .dockerignore: stat opt/data/temporalxd/periodic_get_img.py: file does not exist