|
|
@@ -2,21 +2,21 @@
|
|
|
FROM activemq:5.12.0
|
|
|
|
|
|
# Copy the local package files to the container's workspace.
|
|
|
-ADD bin/battlecamp-go-server /go/bin/battlecamp-go-server
|
|
|
+ADD bin/battlecamp-go-gameserver /go/bin/battlecamp-go-gameserver
|
|
|
|
|
|
# set rights
|
|
|
-RUN ["chmod", "755", "/go/bin/battlecamp-go-server"]
|
|
|
+RUN ["chmod", "755", "/go/bin/battlecamp-go-gameserver"]
|
|
|
|
|
|
# install supervisor
|
|
|
RUN apt-get update && apt-get install -y supervisor
|
|
|
RUN mkdir -p /var/log/supervisor
|
|
|
|
|
|
# install supervisord.conf
|
|
|
-COPY src/battlecamp-go/battlecamp-go-server/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
+COPY src/battlecamp-go/battlecamp-go-gameserver/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
RUN ["chmod", "755", "/etc/supervisor/conf.d/supervisord.conf"]
|
|
|
|
|
|
-# Run the battlecamp-go-server command by default when the container starts.
|
|
|
-# ENTRYPOINT ["/go/bin/battlecamp-go-server"]
|
|
|
+# Run the battlecamp-go-gameserver command by default when the container starts.
|
|
|
+# ENTRYPOINT ["/go/bin/battlecamp-go-gameserver"]
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
|
|
|
|
|
# Document that the service listens on port 8080.
|