Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Resolve Dockerfile issue and pm2 error #187

Merged
merged 6 commits into from
May 25, 2016

Conversation

toddw
Copy link
Contributor

@toddw toddw commented May 25, 2016

RUN gluestick build was added to the wrong file
templates/new/src/config/.Dockerfile which is actually overwritten at
runtime by docker/generate-dockerfile.js. This commit will resolve
that.

There were instances where pm2 would throw an error if it tried to stop
an instance that it knew nothing about. For some reason this error
condition wasn't always repeatable. To resolve the issue I added a function that will return whether or not an instance for a given name exists and then use that to determine if we should attempt to stop or delete.

toddw added 6 commits May 25, 2016 10:11
`RUN gluestick build` was added to the wrong file
`templates/new/src/config/.Dockerfile` which is actually overwritten at
runtime by `docker/generate-dockerfile.js`. This commit will resolve
that.

There were instances where pm2 would throw an error if it tried to stop
an instance that it knew nothing about. For some reason this error
condition wasn't always repeatable. A simple try/catch was added so that
PM2 will still start up even if it fails to run the stop command.
@christinebrass
Copy link
Contributor

👍

@christinebrass christinebrass merged commit c42201a into develop May 25, 2016
@christinebrass christinebrass deleted the toddw/resolve-dockerfile-issue branch May 25, 2016 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants