Test the behaviour of the prod-containers locally
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
cami 2021-07-14 17:13:03 +02:00
parent 9aa573384b
commit 816689acdf

18
test-prod-containers.yml Normal file
View file

@ -0,0 +1,18 @@
version: '3.7'
services:
frontend-prod:
containername: frontend-testing
build:
context: ./frontend
dockerfile: Dockerfile.prod
ports:
- 3000:80
backend-prod:
container_name: backend-testing
build:
context: ./backend
dockerfile: Dockerfile.prod
environment:
DEBUG: "no"
PORT: 5000
HOST: "0.0.0.0"