Special-IO/raspberryPi/Dockerfile
Finn_Dane df5da0f82e
All checks were successful
continuous-integration/drone/push Build is passing
now works without mounting the database and documents the port exposed
2023-11-06 15:56:32 +01:00

16 lines
241 B
Docker

FROM python:3.9.18
EXPOSE 5000/tcp
# Support not using an external database
RUN ["mkdir", "/data"]
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY src .
CMD ["python", "./main.py"]