currencyservice: change port to 7000

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-29 13:45:03 -07:00
parent ca3ace3f65
commit ab045ae6e7
5 changed files with 13 additions and 12 deletions

View file

@ -3,5 +3,5 @@ WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install --only=production
COPY . .
EXPOSE 31337
CMD [ "node", "server.js" ]
EXPOSE 7000
CMD [ "node", "server.js" ]

View file

@ -20,7 +20,7 @@ const request = require('request');
const xml2js = require('xml2js');
const PROTO_PATH = path.join(__dirname, './proto/demo.proto');
const PORT = 31337;
const PORT = 7000;
const DATA_URL = 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml';
const shopProto = grpc.load(PROTO_PATH).hipstershop;

View file

@ -22,7 +22,8 @@ RUN go install .
# ---
FROM alpine as release
RUN apk add --no-cache ca-certificates
RUN apk add --no-cache ca-certificates \
busybox-extras net-tools bind-tools
WORKDIR /frontend
COPY --from=builder /go/bin/frontend /frontend/server
COPY ./templates ./templates