mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
chore: move emulator stuff to the root folder
This commit is contained in:
@@ -6,20 +6,20 @@ services:
|
||||
container_name: backend
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./functions/emulator/Dockerfile
|
||||
dockerfile: ./emulator/Dockerfile
|
||||
depends_on:
|
||||
simulated-webhook-receiver:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- 4001-4008:4001-4008
|
||||
volumes:
|
||||
- ./emulator/logs:/app/logs
|
||||
- ./functions:/app/functions
|
||||
- ./functions/data/emulator:/seed
|
||||
- ./functions/logs:/app/logs
|
||||
- ./functions/src/emailNotifications/templates:/templates
|
||||
|
||||
simulated-webhook-receiver:
|
||||
container_name: simulated-webhook-receiver
|
||||
build:
|
||||
context: ./packages/simulated-webhook-receiver/
|
||||
context: ./packages/simulated-webhook-receiver
|
||||
dockerfile: Dockerfile
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# therefore these commands should be ran from there.
|
||||
#
|
||||
# BUILD
|
||||
# docker build -f ./functions/emulator/Dockerfile -t emulator .
|
||||
# docker build -f ./emulator/Dockerfile -t emulator .
|
||||
#
|
||||
# RUN
|
||||
# docker run -v ./functions:/app/functions -p 4001-4008:4001-4008 -it emulator
|
||||
@@ -86,9 +86,9 @@ COPY ./firebase.storage.rules ./firebase.storage.rules
|
||||
COPY ./firestore.indexes.json ./firestore.indexes.json
|
||||
COPY ./firestore.rules ./firestore.rules
|
||||
|
||||
COPY ./functions/emulator/export.js ./export.js
|
||||
COPY ./emulator/export.js ./export.js
|
||||
|
||||
COPY ./functions/emulator/link-logs.js ./link-logs.js
|
||||
COPY ./emulator/link-logs.js ./link-logs.js
|
||||
|
||||
# This folder needs to exist because otherwise
|
||||
# the emulators error if the user did not mount
|
||||
Reference in New Issue
Block a user