about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWonderfall <wonderfall@targaryen.house>2017-04-06 20:57:16 +0200
committerWonderfall <wonderfall@targaryen.house>2017-04-06 20:57:16 +0200
commita3318814e10d94fcbb1c3f717f5b0064c49c30c7 (patch)
treefc2e0f546762807c53212cc5c3fcea3466594514
parentfa494dbb1d51dad926dd9b95e333dce48c2a3891 (diff)
add metadata to Dockerfile
-rw-r--r--Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index f5eb08893..c28287cca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,13 @@
 FROM ruby:2.3.1-alpine
 
+LABEL maintainer="https://github.com/tootsuite/mastodon" \
+      description="A GNU Social-compatible microblogging server"
+
 ENV RAILS_ENV=production \
     NODE_ENV=production
 
+EXPOSE 3000 4000
+
 WORKDIR /mastodon
 
 COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/