Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtj committed Mar 8, 2023
1 parent 3be48c7 commit 8fce5d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .docker/docker-compose.yaml

This file was deleted.

15 changes: 14 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ COPY . .

RUN yarn global add hexo-cli
RUN yarn install
ENV HOST=localhost

# 添加工具git docker vscode
RUN <<EOF
apt-get update
apt-get install -y --no-install-recommends git
EOF
RUN <<EOF
useradd -s /bin/bash -m vscode
groupadd docker
usermod -aG docker vscode
EOF
# install Docker tools (cli, buildx, compose)
COPY --from=gloursdocker/docker / /

CMD hexo s
# CMD serve public
# RUN git config --global --unset http.proxy
Expand Down

1 comment on commit 8fce5d7

@vercel
Copy link

@vercel vercel bot commented on 8fce5d7 Mar 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.