Public | Automated Build

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

meteor-docker

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 https://hub.docker.com/_/golang/.

Example

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
Owner
gosselj
Source Repository

Comments (0)