Created
April 28, 2017 13:46
-
-
Save Gary-Ascuy/711ab6675351b18036eb631d1421a0a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker Meteor | |
FROM node:4.8.1-alpine | |
MAINTAINER Gary Ascuy <gary.ascuy@gmail.com> | |
ENV BUILD_PACKAGES="python make gcc g++ git libuv bash curl tar bzip2" \ | |
NODE_ENV=production \ | |
ROOT_URL=http://localhost:3000 \ | |
PORT=3000 | |
WORKDIR /root/app/bundle | |
ADD todos.tar.gz /root/app | |
RUN apk --update add ${BUILD_PACKAGES} \ | |
&& (cd programs/server/ && npm install --unsafe-perm) \ | |
&& apk --update del ${BUILD_PACKAGES} | |
EXPOSE 3000 | |
CMD node main.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment