Skip to content

Commit

Permalink
Revert "使用本地lightsocks-server文件构建docker镜像"
Browse files Browse the repository at this point in the history
This reverts commit af4ae64
  • Loading branch information
吴浩麟 committed Oct 17, 2019
1 parent af4ae64 commit 23ca3d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ builds:
- amd64
- 386
- arm
hooks:
post: cp ./dist/lightsocks-server_linux_amd64/lightsocks-server ./lightsocks-server
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM alpine:latest

LABEL maintainer="gwuhaolin <gwuhaolin@gmail.com>"
ENV LIGHTSOCKS_SERVER_PORT 12315
COPY ./lightsocks-server ./lightsocks-server
COPY ./dist/lightsocks-server_linux_amd64/lightsocks-server ./lightsocks-server
EXPOSE ${LIGHTSOCKS_SERVER_PORT}
CMD ./lightsocks-server

0 comments on commit 23ca3d4

Please sign in to comment.