mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-02 06:04:42 -04:00
Update Dockerfiles
this patch changes the entrypoint and commands to be in line with how Docker defines their usage. this allows the admin using this container to specify which command to run in the docker-compose.yml if they want to run something other than the aprsd server command. This now allows to easily run webchat as a container :)!
This commit is contained in:
+2
-1
@@ -53,8 +53,9 @@ ADD bin/admin.sh /app
|
||||
# For the web admin interface
|
||||
EXPOSE 8001
|
||||
|
||||
ENTRYPOINT ["/app/run.sh"]
|
||||
VOLUME ["/config"]
|
||||
ENTRYPOINT ["/app/setup.sh"]
|
||||
CMD ["server"]
|
||||
|
||||
# Set the user to run the application
|
||||
USER appuser
|
||||
|
||||
Reference in New Issue
Block a user