Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions hotelReservation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ COPY config.json config.json

RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/...

FROM alpine:3.18

RUN apk add --no-cache ca-certificates

WORKDIR /app

COPY --from=builder /go/bin/ .
COPY --from=builder /workspace/config.json .
COPY --from=builder /workspace/tls/ tls/

Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ container:

configMaps:
- name: service-config.json
mountPath: config.json
mountPath: /app/config.json
value: service-config