|
@@ -15,7 +15,7 @@ chmod +x /server
|
|
|
/server /conf.toml
|
|
/server /conf.toml
|
|
|
|
|
|
|
|
# 使用EFS挂载的方式,CMD中输入:
|
|
# 使用EFS挂载的方式,CMD中输入:
|
|
|
-sh,-c,sleep 5 && /home/server_demo /home/conf.toml
|
|
|
|
|
|
|
+sh,-c,sleep 5 && /home/server /home/conf.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -24,7 +24,7 @@ sh,-c,sleep 5 && /home/server_demo /home/conf.toml
|
|
|
FROM amazonlinux
|
|
FROM amazonlinux
|
|
|
WORKDIR /
|
|
WORKDIR /
|
|
|
COPY conf.toml /conf.toml
|
|
COPY conf.toml /conf.toml
|
|
|
-COPY server_route_v2 /server
|
|
|
|
|
|
|
+COPY server /server
|
|
|
COPY ent.sh /ent.sh
|
|
COPY ent.sh /ent.sh
|
|
|
RUN chmod 777 /ent.sh
|
|
RUN chmod 777 /ent.sh
|
|
|
ENTRYPOINT ["/ent.sh"]
|
|
ENTRYPOINT ["/ent.sh"]
|