添加 Dockerfile 以及测试环境脚本;docker 脚本复用环境变量
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./bin/platform_linux_amd64 /app/platform
|
||||
RUN chmod +x /app/platform
|
||||
|
||||
EXPOSE $APP_PORT
|
||||
|
||||
CMD ["/app/proxy"]
|
||||
Reference in New Issue
Block a user