Skip to content

Commit

Permalink
feat: 新增启动 noneflow 的 docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
BigOrangeQWQ committed Aug 14, 2024
1 parent 1d2921b commit 8b16fb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENV TZ=Asia/Shanghai
COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get install -y --no-install-recommends git passwd \
&& apt-get install -y --no-install-recommends git \
&& pip install --no-cache-dir --upgrade -r /app/requirements.txt \
&& apt-get purge -y --auto-remove \
&& rm -rf /var/lib/apt/lists/* \
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
noneflow:
image: ghcr.io/bigorangeqwq/noneflow:main
environment:
- APP_ID=${APP_ID}
- PRIVATE_KEY=${PRIVATE_KEY}
- PRE_COMMIT_HOME=${PRE_COMMIT_HOME}
- CONFIG=${CONFIG}
volumes:
- /var/run/docker.sock:/var/run/docker.sock

0 comments on commit 8b16fb9

Please sign in to comment.