Quirk is a toy quantum circuit simulator
334
Download & run the image with the following command:
docker run -d -p 6558:80 sergiomtzlosa/quirk
Then open the browser at: http://localhost:6558
Dockerfile:
FROM alpine:3.12
RUN apk update && apk add --no-cache apache2 apache2-proxy apache2-ssl apache2-utils curl logrotate git openssl git nodejs npm
RUN sed -i 's#/var/www/localhost/htdocs#/var/www/localhost/htdocs/quirk#g' /etc/apache2/httpd.conf
WORKDIR /
RUN git clone https://github.com/Strilanc/Quirk.git quirk && \
cd quirk && npm install && npm run build && mkdir -p /var/www/localhost/htdocs/quirk && \
cp -r out/* /var/www/localhost/htdocs/quirk && cd /var/www/localhost/htdocs/quirk && mv quirk.html index.html
RUN apk del apache2 git
EXPOSE 80
CMD ["/usr/sbin/httpd", "-D", "FOREGROUND", "-f", "/etc/apache2/httpd.conf"]
Content type
Image
Digest
Size
190.6 MB
Last updated
almost 6 years ago
docker pull sergiomtzlosa/quirk