26 lines
812 B
Docker
Raw Normal View History

2017-11-14 02:15:09 +04:00
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 \
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
CMD [ "/usr/local/bin/meteor", "run" ]