im 管理后台
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
FROM loads/alpine:3.8
|
||||
|
||||
###############################################################################
|
||||
# INSTALLATION
|
||||
###############################################################################
|
||||
|
||||
ENV WORKDIR /app
|
||||
ADD hack $WORKDIR/hack/
|
||||
ADD manifest/config $WORKDIR/manifest/config/
|
||||
ADD resource $WORKDIR/resource/
|
||||
ADD ./temp/linux_amd64/hotgo $WORKDIR/hotgo
|
||||
ADD ./manifest/docker/entrypoint.sh $WORKDIR/entrypoint.sh
|
||||
RUN chmod +x $WORKDIR/hotgo
|
||||
RUN chmod +x $WORKDIR/entrypoint.sh
|
||||
|
||||
|
||||
###############################################################################
|
||||
# START
|
||||
###############################################################################
|
||||
|
||||
WORKDIR $WORKDIR
|
||||
CMD ./entrypoint.sh
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This shell is executed before docker build.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /app && ./hotgo &
|
||||
echo "hotgo start all server.."
|
||||
tail -f /dev/null
|
||||
Reference in New Issue
Block a user