24 lines
773 B
Docker
Raw Normal View History

FROM ubuntu:rolling
2017-11-14 02:15:09 +04:00
LABEL maintainer="info@valentineus.link"
ENV METEOR_ALLOW_SUPERUSER="true"
2018-08-15 18:28:35 +04:00
ARG release
2017-11-14 02:15:09 +04:00
RUN set -ex \
&& apt-get update \
&& apt-get --no-install-recommends --no-install-suggests --yes install \
2018-08-15 18:28:35 +04:00
ca-certificates curl git openssl \
2017-11-14 02:15:09 +04:00
&& 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
2018-08-15 18:28:35 +04:00
WORKDIR "/workspace"
2017-11-14 02:15:09 +04:00
CMD [ "/usr/local/bin/meteor", "run" ]