Skip to content

Commit

Permalink
Merge pull request #339 from berty/dev/moul/serve-404
Browse files Browse the repository at this point in the history
feat: custom 404 handler on production server (golang)
  • Loading branch information
moul authored Jun 9, 2020
2 parents 981604e + 5a32e31 commit 8739013
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 220 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
Dockerfile
web/node_modules/
web/dist/
.dockerignore
cache/
vendor/
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY go.* ./
RUN go mod download
COPY go ./go/
RUN rm -rf web
COPY --from=web-build /app/dist web
COPY --from=web-build /app/dist web/dist
WORKDIR /go/src/berty.tech/yolo/go
RUN make packr
RUN make install
Expand Down
9 changes: 8 additions & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8739013

Please sign in to comment.