Public | Automated Build

Last pushed: a year ago
Short Description
Docker Image for Building meteor.js apps.
Full Description


This project aim to create an image containing an already installed meteor
in order to build a release of meteor project.

Based on the idea of golang image


docker run --rm \
  -v "$PWD":/usr/src/my-app \
  -w /usr/src/my-app \
  gosselj/meteor \
  /bin/bash -c "set -x && \
  rm -rf .meteor/local && \
  meteor npm install && \
  meteor build ."

Then you have my-app.tar.gz in your current directory,
you can then create an image with a Dockerfile like this one.

FROM node:argon

ADD my-app.tar.gz /opt/my-app

WORKDIR /opt/my-app/bundle

RUN cd programs/server && \
    npm install && \
    npm cache clear

CMD node main.js
Docker Pull Command
Source Repository