From 75fb297ac562dd0192daa7c98d732040872edf8e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 26 Jun 2020 01:01:13 +0400 Subject: Moved Dockerfile Signed-off-by: Valentin Popov --- release/Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 release/Dockerfile (limited to 'release') 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 -- cgit v1.2.3