mirror of
https://github.com/bitnami/containers.git
synced 2026-03-19 15:57:46 +08:00
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user