File tree 4 files changed +12
-7
lines changed
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 2
2
# DOCKER COMPOSE DEPLOYMENT
3
3
# -----------------------------------------------------------------------------
4
4
# build containers
5
- # sudo docker- compose -f docker-compose-production.yml build --no-cache
6
- # sudo docker- compose -f docker-compose-production.yml build
5
+ # sudo docker compose -f docker-compose-production.yml build --no-cache
6
+ # sudo docker compose -f docker-compose-production.yml build
7
7
# serve containers
8
- # sudo docker- compose -f docker-compose-production.yml up
9
- # sudo docker- compose -f docker-compose-production.yml up --detach
8
+ # sudo docker compose -f docker-compose-production.yml up
9
+ # sudo docker compose -f docker-compose-production.yml up --detach
10
10
# -----------------------------------------------------------------------------
11
11
volumes :
12
12
vue_dist :
Original file line number Diff line number Diff line change 1
- FROM node:14.11.0 AS build-stage
1
+ FROM node:14 AS build-stage
2
+ # RUN apk add g++ make py3-pip
2
3
WORKDIR /app
3
4
COPY package*.json /app/
4
5
RUN npm install
Original file line number Diff line number Diff line change 1
1
# build stage
2
- FROM node:14.11.0 AS build-stage
2
+ FROM node:14 AS build-stage
3
3
WORKDIR /app
4
4
COPY package*.json /app/
5
5
RUN npm install
Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ environment for the SBML4Humans report.
4
4
5
5
## Project setup for development
6
6
7
- ### Start backend API and frontend (docker- compose)
7
+ ### Start backend API and frontend (docker compose)
8
8
The simplest setup is to start the frontend and backend via the docker-compose scripts.
9
9
10
+ ```
11
+ sudo docker compose -f docker-compose-develop.yml build --no-cache
12
+ sudo docker compose -f docker-compose-develop.yml up
13
+ ```
10
14
11
15
Alternatively the backend and frontend can be run directly on the machine. This most likely requires updates of the local ` node ` and ` npm ` packages.
12
16
You can’t perform that action at this time.
0 commit comments