diff options
author | Valentin Popov <info@valentineus.link> | 2020-06-26 00:01:13 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-06-26 00:01:13 +0300 |
commit | 75fb297ac562dd0192daa7c98d732040872edf8e (patch) | |
tree | d7f53713f8187cde6ca96391e737dbc2841accf4 /release/Dockerfile | |
parent | 696afd84ad49ca2b03f709ce828719aea3784fec (diff) | |
download | docker-meteor-75fb297ac562dd0192daa7c98d732040872edf8e.tar.xz docker-meteor-75fb297ac562dd0192daa7c98d732040872edf8e.zip |
Moved Dockerfile
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'release/Dockerfile')
-rw-r--r-- | release/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/release/Dockerfile b/release/Dockerfile new file mode 100644 index 0000000..0eb29a9 --- /dev/null +++ b/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 |