1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-04 22:40:30 +00:00
AdvLabDB/Containerfile
2023-11-03 21:44:39 +01:00

14 lines
265 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
COPY . .
RUN rm requirements.txt
CMD ["./init.sh"]