Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
fix: small docker image serving jade explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
bakon committed Sep 24, 2019
1 parent 2d419c4 commit 7db6352
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,5 @@ RUN \
npm install && \
npm run build

FROM alpine:latest
RUN \
apk --no-cache add ca-certificates npm && \
npm install -g node-static
WORKDIR /root/
COPY --from=builder /root/jade-explorer .
WORKDIR /root/jade-explorer
EXPOSE 8080
CMD ["static", "-a", "0.0.0.0", "build"]
FROM httpd:2.4-alpine
COPY --from=builder /root/jade-explorer/build/ /usr/local/apache2/htdocs/

0 comments on commit 7db6352

Please sign in to comment.