1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-10-07 19:34:22 +00:00
AdvLabDB/Containerfile
2023-11-03 21:23:36 +01:00

13 lines
275 B
Docker

FROM docker.io/library/python:3.12-slim
RUN apt update && apt install -y sqlite3
EXPOSE 80
ENV ADVLABDB_DATA_DIR=/volumes/data
WORKDIR /volumes/repo
COPY requirements.txt .
RUN pip3 install -r requirements.txt && rm requirements.txt
COPY . .
CMD ["/bin/bash", "init.sh"]