Skip to content
Snippets Groups Projects
Commit d2aa1ccc authored by Francois Romain's avatar Francois Romain
Browse files

build: expose le fichier d'env dans le conteneur

parent 290d918d
No related branches found
No related tags found
No related merge requests found
FROM node:12.13.1-alpine
FROM node:12-alpine
LABEL maintainer=francois.romain@beta.gouv.fr
ENV dir /app
......
......@@ -15,7 +15,7 @@ services:
- ${NODE_PORT}
volumes:
- files:/app/files
env_file: .env
- ./.env:/app/.env
postgres:
image: postgres:12-alpine
......
......@@ -13,7 +13,7 @@ services:
- ${NODE_PORT}
volumes:
- files:/app/files
env_file: .env
- ./.env:/app/.env
postgres:
image: postgres:12-alpine
......
......@@ -4,8 +4,8 @@ services:
app:
image: node:alpine
volumes:
- ./:/api
working_dir: /api
- ./:/app
working_dir: /app
depends_on:
- postgres
environment:
......
......@@ -15,7 +15,7 @@ services:
- ${NODE_PORT}
volumes:
- files:/app/files
env_file: .env
- ./.env:/app/.env
postgres:
image: postgres:12-alpine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment