Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only one CMD per Dockerfile #106

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

dev-nicolaos
Copy link
Contributor

@dev-nicolaos dev-nicolaos commented Jul 24, 2023

According to the Dockerfile reference docs, there can only be one CMD instruction in a Dockerfile. If there is more than one, all but the last are skipped. This explains the error in #105, although fixing this particular issue does not get the docker build working properly since there are now TS errors being thrown in the build step (which was being skipped altogether previously). This PR leaves #105 open and addresses just the first issue by changing the relevant CMD line to use RUN.

Copy link
Owner

@lowercasename lowercasename left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks a lot for contributing a fix!

@lowercasename lowercasename merged commit ec206eb into lowercasename:main Sep 28, 2023
1 check passed
@dev-nicolaos dev-nicolaos deleted the dockerfile-fix branch September 28, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants