diff options
author | Valentin Popov <info@valentineus.link> | 2018-08-15 17:28:35 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-08-15 17:39:36 +0300 |
commit | 8f92f77d5afda97e2f4c7b0a244143082f380a5c (patch) | |
tree | 56be31ee8b5a6099119dd056cfbb5c6a0d423c8b /default/release/Dockerfile | |
parent | 9bf889fa159784967814890435c416518fa0c3a7 (diff) | |
download | docker-meteor-8f92f77d5afda97e2f4c7b0a244143082f380a5c.tar.xz docker-meteor-8f92f77d5afda97e2f4c7b0a244143082f380a5c.zip |
Reconfiguration of the build algorithm
Diffstat (limited to 'default/release/Dockerfile')
-rw-r--r-- | default/release/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/default/release/Dockerfile b/default/release/Dockerfile new file mode 100644 index 0000000..0eb29a9 --- /dev/null +++ b/default/release/Dockerfile @@ -0,0 +1,24 @@ +FROM ubuntu:rolling +LABEL maintainer="info@valentineus.link" + +ENV METEOR_ALLOW_SUPERUSER="true" + +ARG release + +RUN set -ex \ + && apt-get update \ + && apt-get --no-install-recommends --no-install-suggests --yes install \ + ca-certificates curl git openssl \ + && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ + && apt-get --purge --yes remove curl \ + && apt-get --purge --yes autoremove \ + && apt-get clean \ + && find /tmp -type f -exec rm {} \; \ + && find /var/cache -type f -exec rm {} \; \ + && find /var/lib/apt/lists -type f -exec rm {} \; \ + && find /var/log -type f -exec rm {} \; \ + && find /var/tmp -type f -exec rm {} \; + +EXPOSE 3000 +WORKDIR "/workspace" +CMD [ "/usr/local/bin/meteor", "run" ]
\ No newline at end of file |