Some cleanup + use front/api wording for containers

This commit is contained in:
Gaëtan L
2023-02-16 16:12:17 +01:00
parent 6197543bd3
commit 7c5b43a990
4 changed files with 8 additions and 11 deletions
+3
View File
@@ -28,3 +28,6 @@ test_project/modoboa.db
/.project
/.pydevproject
# Misc
.ash_history
+5 -5
View File
@@ -1,7 +1,7 @@
version: '3'
services:
web:
api:
container_name: modoboa_api
restart: always
build:
@@ -17,12 +17,12 @@ services:
volumes:
- .:/code
new_admin:
container_name: modoboa_new_admin
front:
container_name: modoboa_front
restart: always
build:
context: .
dockerfile: docker/Dockerfile.admin.dev
dockerfile: docker/Dockerfile.front.dev
ports:
- 8080:8080
command: ""
@@ -30,4 +30,4 @@ services:
- ./frontend/:/home/node/
command: "yarn serve"
depends_on:
- web
- api
@@ -2,7 +2,6 @@ FROM node:16.10-alpine
ENV HOME=/home/node/
COPY ./frontend $HOME
WORKDIR $HOME
RUN yarn install
-5
View File
@@ -1,5 +0,0 @@
ls
yarn serve
yarn install
yarn serve
yarn serve --help