-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed resource from rpm, deb and image (#1411)
Removed resource from rpm, deb and image - [x] Refactoring
- Loading branch information
1 parent
19a0baa
commit 53e0513
Showing
4 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
FROM debian:stable-slim | ||
|
||
COPY cmake-build-release/src/infinity /usr/bin | ||
|
||
# https://docs.docker.com/reference/dockerfile/#copy | ||
# If <src> is a directory, the entire contents of the directory are copied, including filesystem metadata. | ||
# The directory itself isn't copied, only its contents. | ||
COPY resource/jieba /resource/jieba | ||
COPY resource/mecab /resource/mecab | ||
COPY cmake-build-release/src/infinity /usr/bin | ||
|
||
ENTRYPOINT ["bash", "-c", "cp -rf /resource /var/infinity/; exec /usr/bin/infinity"] |