16 lines
275 B
Docker
16 lines
275 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM python:3.11-alpine
|
|
|
|
# Set working dir
|
|
WORKDIR /code
|
|
|
|
RUN apk add git
|
|
RUN git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com .
|
|
RUN git submodule update --init
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
CMD ["python3", "main.py", "&"]
|
|
|