Merge pull request #41 from sameersbn/misc-fixes

Misc fixes
This commit is contained in:
Sameer Naik
2016-10-20 16:50:07 +05:30
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ COPY rootfs/ /
# so the entrypoint does not have any permission issues
RUN chown -R bitnami:bitnami /app_template
RUN mkdir /app && chown bitnami: /app
USER bitnami
# This will add an specific version of Express that will validate the package.json requirement
# so we will not download any other version

View File

@@ -2,11 +2,11 @@ version: '2'
services:
mongodb:
image: bitnami/mongodb:3.2.7-r2
image: bitnami/mongodb:latest
myapp:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/express:4.14.0-r1
image: bitnami/express:latest
environment:
- DATABASE_URL=mongodb://mongodb:27017/my_app_development
depends_on: