Skip to content

Commit

Permalink
Merge pull request #12 from approvers/fix-dockerfile
Browse files Browse the repository at this point in the history
Fix the directory where copy node_modules from frontend
  • Loading branch information
siketyan authored Aug 27, 2020
2 parents dfd8af2 + 4baa4ed commit 32b12e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN mkdir /src
WORKDIR /src

COPY main.go go.mod go.sum ./
COPY --from=frontend /src/node_modules ./
COPY --from=frontend /src/node_modules ./node_modules

RUN cd /src && go build -o main && rm main.go go.mod go.sum

Expand Down

0 comments on commit 32b12e0

Please sign in to comment.