Difference between revisions of "Build:"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* https://docs.docker.com/compose/compose-file/compose-file-v3/#build | * https://docs.docker.com/compose/compose-file/compose-file-v3/#build | ||
+ | Official example: | ||
+ | version: "3.8" | ||
+ | [[Docker compose file: docker-compose.yml|services:]] | ||
+ | webapp: | ||
+ | build: ./dir | ||
[[dockerfile:]] | [[dockerfile:]] |
Latest revision as of 09:18, 21 April 2024
Official example:
version: "3.8" services: webapp: build: ./dir
dockerfile: args:
Related[edit]
See also[edit]
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
- Build, build automation,
make, cmake
,docker build
,conan build, gradle build
, kaniko, AWS CodeBuild, Bazel, Google Cloud Build, meson, Pants, Scons, Buck2,earthly
Advertising: