site-docker/Dockerfile

16 lines
275 B
Docker
Raw Normal View History

2023-08-12 22:31:24 +02:00
# 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", "&"]