mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-04 22:40:30 +00:00
14 lines
265 B
Docker
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"]
|