docker-meteor/release/Dockerfile
Valentin Popov 096b0d7c7b Fixed write release version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-26 01:32:46 +04:00

24 lines
771 B
Docker

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" ]