Docker
We will always point to the official docs, but also provide you with an example on how to do it faster with axolotl.
Link to Docker docs (opens in a new tab)
Step by Step
npm i ts-patch typescript typescript-transform-paths @aexol/axolotl-graphql-yoga
- install required dependenciesaxolotl create-dockerfile
- generate dockerfile & .dockerignoredocker build <your-image-name> .
- build docker imagedocker run -dp 127.0.0.1:8080:8080 <your-image-name>
- run docker image