mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-02 22:33:05 +00:00
16 lines
278 B
Docker
16 lines
278 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"]
|