From df5da0f82ea805907497dedc43e372ea23fa3b88 Mon Sep 17 00:00:00 2001 From: Finn_Dane Date: Mon, 6 Nov 2023 15:56:32 +0100 Subject: [PATCH] now works without mounting the database and documents the port exposed --- raspberryPi/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raspberryPi/Dockerfile b/raspberryPi/Dockerfile index 0896ef5..a527a7b 100644 --- a/raspberryPi/Dockerfile +++ b/raspberryPi/Dockerfile @@ -1,5 +1,10 @@ FROM python:3.9.18 +EXPOSE 5000/tcp + +# Support not using an external database +RUN ["mkdir", "/data"] + WORKDIR /usr/src/app COPY requirements.txt ./