Skip to content

Commit

Permalink
chore: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
valosnah committed Nov 20, 2024
1 parent 6f21211 commit 18b383f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.22-alpine as build-env
FROM golang:1.22-alpine AS build-env

ENV APP_NAME fdk-harvest-admin
ENV CMD_PATH main.go
ENV APP_NAME=fdk-harvest-admin
ENV CMD_PATH=main.go

COPY . $GOPATH/src/$APP_NAME
WORKDIR $GOPATH/src/$APP_NAME
Expand All @@ -17,4 +17,4 @@ COPY --from=build-env /$APP_NAME .

EXPOSE 8080

CMD ./$APP_NAME
CMD ["./$APP_NAME"]

0 comments on commit 18b383f

Please sign in to comment.