diff options
author | Valentin Popov <info@valentineus.link> | 2017-11-14 01:15:09 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-11-14 01:15:09 +0300 |
commit | 7f34aa302f10ed529e05ad662281ed34607e6f54 (patch) | |
tree | b47a398ccbc809ce187cb46deabe29d098bef009 /build/1.4/Dockerfile | |
download | docker-meteor-7f34aa302f10ed529e05ad662281ed34607e6f54.tar.xz docker-meteor-7f34aa302f10ed529e05ad662281ed34607e6f54.zip |
Initial commit
Diffstat (limited to 'build/1.4/Dockerfile')
-rw-r--r-- | build/1.4/Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/build/1.4/Dockerfile b/build/1.4/Dockerfile new file mode 100644 index 0000000..dcd9d3f --- /dev/null +++ b/build/1.4/Dockerfile @@ -0,0 +1,26 @@ +FROM debian:stable-slim +LABEL maintainer="info@valentineus.link" + +ENV METEOR_ALLOW_SUPERUSER="true" +ENV RELEASE="1.4" +WORKDIR "/workspace" + +RUN set -ex \ + && apt-get update \ + && apt-get --no-install-recommends --no-install-suggests --yes install \ + build-essential \ + ca-certificates \ + curl \ + git \ + openssl \ + && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ + && 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 +CMD [ "/usr/local/bin/meteor", "run" ]
\ No newline at end of file |