Skip to content

Commit ae34b42

Browse files
authored
Merge pull request #2422 from dev-hato/fix_copy_file
2 parents 0acc2f8 + 95e3979 commit ae34b42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# バージョン情報に表示する commit hash を埋め込む
22
FROM debian:bullseye-slim AS commit-hash
3-
COPY . /
3+
COPY .git slackbot_settings.py /
44
RUN apt-get update \
55
&& apt-get install -y --no-install-recommends git \
66
&& sed -i "s/^\(GIT_COMMIT_HASH = \).*\$/\1'$(git rev-parse HEAD)'/" slackbot_settings.py

0 commit comments

Comments
 (0)