Skip to content

Commit

Permalink
feat: custom 404 handler on production server (golang)
Browse files Browse the repository at this point in the history
Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul committed Jun 9, 2020
1 parent 981604e commit 5a32e31
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 5a32e31

Please sign in to comment.