Dockerfile 915 Bytes
Newer Older
dietricf's avatar
dietricf committed
1
2
3
4
5
6
7
8
9
10
11
12
13
# *******************************************************************************
# * Copyright (c) 2019 Contributors to the Eclipse Foundation
# *
# * See the NOTICE file(s) distributed with this work for additional
# * information regarding copyright ownership.
# *
# * This program and the accompanying materials are made available under the
# * terms of the Eclipse Public License v. 2.0 which is available at
# * http://www.eclipse.org/legal/epl-2.0.
# *
# * SPDX-License-Identifier: EPL-2.0
# *******************************************************************************
#
Dimitrios Chalepakis's avatar
Dimitrios Chalepakis committed
14
FROM openjdk:8-jre-alpine
15
16
17
18
19
20

ENV TZ Europe/Berlin

# install tzdata to set the right timezone
RUN apk add --no-cache tzdata

Dimitrios Chalepakis's avatar
Dimitrios Chalepakis committed
21
22
COPY /target/grid-failure-information.addressimport.service.jar /usr/src/cbd/
WORKDIR usr/src/cbd
23
CMD ["java", "-jar", "-Dspring.profiles.active=devserver", "grid-failure-information.addressimport.service.jar"]