Skip to content

Commit

Permalink
chore: correct Docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 5, 2023
1 parent 1f8def7 commit fdf0f65
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
# EXPOSE 80
# CMD [ "node", "server/main.js" ]


FROM node:lts as dist
MAINTAINER authors="cipchk <[email protected]>"
WORKDIR /dist
RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git . \
&& sed -i 's/\/delon\//\//g' /dist/index.html \
&& sed -i 's/\/delon\//\//g' /dist/404.html
RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git .
# && sed -i'.bak' -e 's/\/delon\//\//g' index.html \
# && sed -i'.bak' -e 's/\/delon\//\//g' 404.html
COPY _nginx _nginx

FROM nginx:stable-alpine
Expand Down

0 comments on commit fdf0f65

Please sign in to comment.