google-nomulus/java/google/registry/proxy/Dockerfile
jianglai edc50bbe59 Containerize GCP proxy
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=186002010
2018-02-20 15:56:13 -05:00

24 lines
822 B
Docker

# 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