Add Dockerfile #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Placeholder to reference PR 21 for those interested in Docker deployments of fipamo
The PR has a rough / initial Dockerfile setup that's not tuned but will work for non-production deployments and testing of fipamo.
Please note the
EXPOSEandVOLUMEdirectives in the Dockerfile, you'll want to keep those in mind for your Docker run command and any deployments that need persistence or reverse http(s) proxying. For the files that are listed asVOLUMEs, please touch the file on the local system before passing the file through to the container. Fipamo should reset the contents of the file on first run.The docker file also uses an
ENTRYPOINTof/usr/local/bin/npmand aCMDdirective to run the fipamo instance as the active app. If you'd like to run othernpmcommands against the sources, just add them to the end of thedocker runcommand.Sample commands to build / run for testing purposes:
Ok, now that Fipamo is PHP based, this needs to change a bit.