Palo palo
e7063b5fd5
it introduced weird bugs because of docker: now it just clones the repo when building
17 lines
440 B
Docker
17 lines
440 B
Docker
FROM python:latest
|
|
WORKDIR /usr/local/app
|
|
|
|
# Install the application dependencies
|
|
RUN pip install --no-cache-dir pelican icalendar markdown
|
|
|
|
# Clone the website source
|
|
RUN git clone https://git.abbiamoundominio.org/unit/website-pelican/ /usr/local/app/source
|
|
|
|
VOLUME ["/usr/local/app/output"]
|
|
|
|
# Execute the execute.sh file
|
|
COPY execute.sh /usr/local/app/execute.sh
|
|
RUN chmod +x /usr/local/app/execute.sh
|
|
|
|
CMD ["/usr/local/app/execute.sh"]
|