Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Oct 15, 2020
1 parent 3d0684a commit 241b281
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-code.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build-Docker
name: Build-Code
on:
push:
branches:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN set -e; \
&& apk add libressl-dev \
# TODO workaround end
&& pip install poetry \
&& poetry install --no-dev \
&& poetry config virtualenvs.create false \
&& poetry install --no-dev --no-interaction --no-ansi \
&& rm -rf ~/.cache \
&& apk del .build-deps
2 changes: 1 addition & 1 deletion Dockerfile-CODE
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ WORKDIR /src/aioshadowsocks

COPY . /src/aioshadowsocks

CMD ["python", "-m", "shadowsocks run_ss_server"]
CMD ["aioss", "run_ss_server"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ services:
# volumes:
# - .:/src/aioshadowsocks
working_dir: /src/aioshadowsocks
command: python -m shadowsocks run_ss_server
command: aioss run_ss_server

0 comments on commit 241b281

Please sign in to comment.