Code Review
/
nonrtric
/
rapp
/
ransliceassurance.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
59003906df8f9a7d17b8b1a7a559fbf9cd604826
[nonrtric/rapp/ransliceassurance.git]
/
smoversion
/
stub
/
Dockerfile
1
FROM golang:1.15.2-alpine3.12 as build
2
RUN apk add git
3
RUN mkdir /build
4
ADD . /build
5
WORKDIR /build
6
RUN go build -o simulator .
7
8
FROM alpine:latest
9
RUN mkdir /app
10
WORKDIR /app/
11
12
# Copy the Pre-built binary file from the previous stage
13
COPY --from=build /build .
14
15
# Expose port 8080
16
EXPOSE 8080
17
18
# Run Executable
19
ENTRYPOINT ["/stub"]