Containerize GCP proxy

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=186002010
This commit is contained in:
jianglai
2018-02-20 15:56:13 -05:00
parent 6e4b2bd6a8
commit edc50bbe59
2 changed files with 83 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Copyright 2018 The Nomulus Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM openjdk:8
WORKDIR /proxy
COPY ./proxy_server_deploy.jar /proxy/
ENTRYPOINT ["java", "-jar", "proxy_server_deploy.jar"]
# Ports used for health checking, EPP and WHOIS, respecitvely.
EXPOSE 11111 22222 12345