Skip to content
Discussion options

You must be logged in to vote

You only need to have a web server and the produced website/document from Quarto.
Something like below:

FROM nginx:latest
COPY mysite /mysite
RUN apt-get update \ 
  && apt-get -y install wget ca-certificates \
  && wget "https://github.com/quarto-dev/quarto-cli/releases/download/v1.0.38/quarto-1.0.38-linux-amd64.deb" -O quarto.deb \
  && dpkg -i quarto.deb \
  && rm quarto.deb \
  && apt-get autoremove -y \
  && apt-get autoclean -y \
  && rm -rf /var/lib/apt/lists/* \
  && rm -rf /tmp/*
RUN quarto render /mysite --output-dir /usr/share/nginx/html
EXPOSE 80
quarto create-project mysite --type website
docker buildx build --platform linux/amd64 --tag docker-quarto-image .
docker container …

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@mcanouil
Comment options

@chuymtz
Comment options

@mcanouil
Comment options

@chuymtz
Comment options

Answer selected by chuymtz
Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mcanouil
Comment options

@th0ger
Comment options

@mcanouil
Comment options

mcanouil Nov 1, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants