Thomas Le8,317 Points
Hi! Unless I'm missing something, the dockerfile being used in the video wasn't linked in the teacher's notes! I'll just type it out for now since it's pretty short. Can someone update the links?
Steve Berrill19,133 Points
I had to type the docker file example out, here it is
# Base Image FROM ubuntu:latest # Commands to run to install dependencies RUN apt-get update -y RUN apt-get install -y python3 # When you pass commands to the container, what should interpret them ENTRYPOINT ["python3"] # Command to run when the container starts CMD ["app.py"] # Working directory WORKDIR /app # Copy apps from the local folder to the Docker container COPY app.py app.py COPY alternate.py alternate.py # Make port available EXPOSE 8080