Controlling your builds with Dockerfiles!
Dockerfiles are used to define how to build Docker containers. Zeet uses Docker under-the-hood to run your applications. You can use a Dockerfile for deeper control over your build process.
If you're not already familiar with Dockerfiles, check out the Dockerfile reference.
Custom Build Args
All environment variables are automatically passed in to your build as Docker build args.
RUN echo "version $ZEET_VERSION of $ZEET_PROJECT_NAME is building!"
CMD sleep 1000
When built in Zeet:
Note the line:
version 4c119a4d3b9e1fe57b64d22738a72a336b3adc06 of theonlyjohnny-build-args-test is building!
- Discord: Join Now