Skip to content
Snippets Groups Projects
Commit 19b8c8e3 authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

[welcome] docker

parent b98095cf
No related branches found
No related tags found
No related merge requests found
version: '3'
services:
api:
build:
context: ./
dockerfile: Dockerfile-api.dockerfile
container_name: canap_api
volumes:
- ./API:/var/www/html/
ports:
- "8181:80"
gest:
image: node:15-alpine
container_name: canap_gest
user: node
working_dir: /home/node/app
depends_on:
- api
environment:
- NODE_ENV=development #production
volumes:
- ./Site:/home/node/app
ports:
- "8080:8080"
entrypoint: /bin/sh
command:
- "-c"
- npm i && npm run serve-docker
networks:
default:
external:
name: canap_network
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment