1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00
AdvLabDB/Containerfile

14 lines
275 B
Text
Raw Normal View History

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