1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2025-03-13 19:38:10 +00:00
AdvLabDB/Containerfile

14 lines
275 B
Text
Raw Normal View History

2023-11-03 21:22:58 +01:00
FROM docker.io/library/python:3.12-slim
2023-11-03 21:23:08 +01:00
RUN apt update && apt install -y sqlite3
2022-11-19 14:09:11 +01:00
2022-11-19 15:44:36 +01:00
EXPOSE 80
ENV ADVLABDB_DATA_DIR=/volumes/data
2022-11-19 14:09:11 +01:00
WORKDIR /volumes/repo
2022-11-19 15:44:36 +01:00
COPY requirements.txt .
RUN pip3 install -r requirements.txt && rm requirements.txt
2022-11-19 14:09:11 +01:00
2022-11-19 15:44:36 +01:00
COPY . .
2022-11-19 14:09:11 +01:00
2023-11-03 21:22:58 +01:00
CMD ["/bin/bash", "init.sh"]