Docker-Compose: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
Created page with "<hr> Use a local dockerfile instead of one hosted in a repo </hr> services: my_service: build: context: . dockerfile: Dockerfile"
 
(No difference)

Latest revision as of 22:10, 28 October 2025


Use a local dockerfile instead of one hosted in a repo

services:
  my_service:
    build:
      context: .
      dockerfile: Dockerfile