Skip to content

Commit

Permalink
Fix image build
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Nov 30, 2023
1 parent c5fad59 commit d7706cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ WORKDIR /home/user
RUN apk add --update gcc musl-dev sqlite make

# Copy project files and build
COPY main.go go.mod go.sum Makefile /home/user/
COPY main.go go.mod go.sum go.work Makefile /home/user/
COPY core /home/user/core/
COPY types /home/user/types/
COPY vendor /home/user/vendor/
RUN make

# Cleanup
RUN rm -rf main.go go.mod go.sum Makefile core/ types/ vendor/
RUN rm -rf main.go go.mod go.sum go.work Makefile core/ types/ vendor/

EXPOSE 8080

Expand Down

0 comments on commit d7706cb

Please sign in to comment.