about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMoritz Heiber <github@heiber.im>2018-02-20 19:11:36 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-02-20 19:11:36 +0100
commita4fd4ad1d50221f4a6a032d3ffea6f620e8b9b5b (patch)
treed53397ba124ed799b814e00502af54c5a47d66f0 /Dockerfile
parent02856073f74c3615c016cb26018b16bae3d0deee (diff)
Fix build error for missing variable interpolation in chown instruction (#6519)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 628941dda..dab4e87a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,7 +72,7 @@ RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-in
 
 RUN addgroup -g ${GID} mastodon && adduser -h /mastodon -s /bin/sh -D -G mastodon -u ${UID} mastodon
 
-COPY --chown=${UID}:${GID} . /mastodon
+COPY --chown=mastodon:mastodon . /mastodon
 
 VOLUME /mastodon/public/system /mastodon/public/assets /mastodon/public/packs