|
13 | 13 | # This Dockerfile is used to preview the docs in pull requests via GitHub Actions.
|
14 | 14 | #
|
15 | 15 | # Keep it aligned with ./start. This Dockerfile is similar,
|
16 |
| -# but it uses a private Docker image from IBM Cloud Registry rather |
17 |
| -# than a public image from Dockerhub. It also sets the CLI args |
18 |
| -# directly in the Dockerfile because the GitHub Action expects that. |
| 16 | +# but it sets the CLI args directly in the Dockerfile |
| 17 | +# because the GitHub Action expects that. |
19 | 18 | #
|
20 |
| -# To test it out locally, you will first need an IBM ID that has permissions to the quantum group. This is currently restricted to IBM maintainers. Then, set up IBM Cloud: |
21 |
| -# |
22 |
| -# 1. Install IBM CLI, https://cloud.ibm.com/docs/cli?topic=cli-getting-started |
23 |
| -# 2. ❯ ibmcloud plugin install cr |
24 |
| -# 3. ❯ ibmcloud login --sso |
25 |
| -# 4. ❯ ibmcloud cr region-set global |
26 |
| -# 5. ❯ ibmcloud cr login |
27 |
| -# |
28 |
| -# Once logged in to IBM Cloud: |
| 19 | +# To test it out locally: |
29 | 20 | #
|
30 | 21 | # 1. ❯ docker build -t qiskit-docs-preview .
|
31 | 22 | # 2. ❯ docker run --rm -p 3000:3000 -t qiskit-docs-preview
|
32 | 23 | # 3. Open up http://localhost:3000
|
33 | 24 |
|
34 |
| -FROM icr.io/quantum-computing/iqp-channel-docs-dev:open-source |
| 25 | +FROM qiskit/documentation:latest |
35 | 26 |
|
36 | 27 | COPY docs/ /home/node/app/docs
|
37 | 28 | COPY translations/ /home/node/app/docs
|
38 | 29 | COPY public/ /home/node/app/packages/preview/public/
|
39 | 30 |
|
40 |
| -EXPOSE 3000 5001 |
| 31 | +EXPOSE 3000 |
0 commit comments