1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-04 22:40:30 +00:00
AdvLabDB/Containerfile

15 lines
265 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 .
2023-11-03 20:44:39 +00:00
RUN pip3 install -r requirements.txt
2022-11-19 13:09:11 +00:00
2022-11-19 14:44:36 +00:00
COPY . .
2023-11-03 20:44:39 +00:00
RUN rm requirements.txt
2022-11-19 13:09:11 +00:00
2023-11-03 20:44:39 +00:00
CMD ["./init.sh"]