Skip to content

Commit

Permalink
Use lowercase directives in Dockerfile
Browse files Browse the repository at this point in the history
We had some mixed case, which cases warnings. Let's just make it
lowercase. There's no need to shout.
  • Loading branch information
kevinmcconnell committed Aug 14, 2024
1 parent 1430f3e commit 81bd689
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.22 as build
WORKDIR /app
COPY . .
RUN make
from golang:1.22 as build
workdir /app
copy . .
run make

FROM ubuntu as base
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /app/bin/kamal-proxy /usr/local/bin/
EXPOSE 80 443
from ubuntu as base
copy --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
copy --from=build /app/bin/kamal-proxy /usr/local/bin/
expose 80 443

CMD [ "kamal-proxy", "run" ]
cmd [ "kamal-proxy", "run" ]

0 comments on commit 81bd689

Please sign in to comment.