GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Only accepts dockerfile named Dockerfile · Issue #979 · aws/copilot-cli

This repository was archived by the owner on Jun 22, 2026. It is now read-only.
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

Only accepts dockerfile named Dockerfile  #979

Copy link
Copy link
Closed
#980
Closed
Only accepts dockerfile named Dockerfile #979
#980
Copy link
Assignees
iamhopaul123
Labels
type/bugIssues that are bugs.

Description

@Louise15926
Louise15926
opened on May 29, 2020
Issue body actions

Current Behavior

If I name my dockerfile something other than 'Dockerfile' (say 'db.Dockerfile'), during app deploy it will give me this error: "unable to prepare context: context must be a directory".

$ ecs-preview app init --dockerfile "db.Dockerfile"
$ ecs-preview app deploy # throws error

Expected Behavior

Not throwing this error

Activity

  1. Louise15926
    added
    type/bugIssues that are bugs.
    on May 29, 2020
  2. iamhopaul123
    self-assigned this
    on May 29, 2020
  3. iamhopaul123 commented on May 29, 2020

    @iamhopaul123
    iamhopaul123
    on May 29, 2020
    Contributor
    More actions

    Plus, if dockerfile path is not passed in by a flag then "pb.Dockerfile" cannot be recognized and listed when selecting which dockerfile to use.

    But maybe this is expected because they can name their dockerfile to whatever name they'd like to use 🤷‍♂️

  4. mergify
    closed this as completedin #980on Jun 1, 2020
  5. mergify
    added a commit that references this issue on Jun 1, 2020

    fix(docker): docker build failed when multiple Dockerfile in one dir (#…

    This issue will close once commit ce5d2d9 is merged into the 'mainline' branch.
    ce5d2d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @iamhopaul123
    iamhopaul123

Labels

type/bugIssues that are bugs.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.