Skip to content

Commit

Permalink
Update root path to /srv/app
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMwashuma committed Apr 9, 2024
1 parent 47e95fa commit a717647
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM golang:1.20 AS base

WORKDIR /app
WORKDIR /srv/app

COPY . .

FROM base as production
RUN go build -o ./bin/akuko-temporal-go-tooling
WORKDIR /app/healthcheck
WORKDIR /srv/app/healthcheck
RUN go build -o ../bin/healthcheck
WORKDIR /app
WORKDIR /srv/app
ENTRYPOINT ["./bin/akuko-temporal-go-tooling"]

FROM base as dev
RUN go build -o ./bin/akuko-temporal-go-tooling
WORKDIR /app/healthcheck
WORKDIR /srv/app/healthcheck
RUN go build -o ../bin/healthcheck
WORKDIR /app
WORKDIR /srv/app
ENTRYPOINT ["./bin/akuko-temporal-go-tooling"]

0 comments on commit a717647

Please sign in to comment.