Skip to content

Commit

Permalink
Fix the Dockerfile after project renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Jo Vandeginste <[email protected]>
  • Loading branch information
jovandeginste committed Feb 20, 2024
1 parent 7f6bf49 commit a44d6d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /workouts
FROM alpine:latest

VOLUME /data
WORKDIR /data
WORKDIR /app
COPY --from=gobuilder /workouts ./workouts

ENTRYPOINT ["/app/workouts"]
WORKDIR /data
ENTRYPOINT ["/app/workout-tracker"]
EXPOSE 8080

0 comments on commit a44d6d7

Please sign in to comment.