forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmicrofrontend.yml
More file actions
24 lines (22 loc) · 833 Bytes
/
Copy pathmicrofrontend.yml
File metadata and controls
24 lines (22 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file contains configuration common to all microfrontends
version: "2.1"
services:
microfrontend:
# Use `npm ci` rather than `npm install` for a few reasons:
#
# - Repeatability: Respect the currently checked out package
# versions rather than upgrading when package.json and
# package-lock.json don't match. (Two people using this at
# different times on the same commit should get the same
# results.)
# - Immutability: Don't change the repo's working directory
# unexpectedly when there's a lock mismatch.
#
# Fail fast if package install fails to avoid mysterious
# errors later.
command: bash -c 'npm ci || exit 1; while true; do npm start; sleep 2; done'
stdin_open: true
tty: true
image: node:16
environment:
- NODE_ENV=development