.
This commit is contained in:
parent
9b621571af
commit
2db66483e7
@ -28,6 +28,13 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
||||||
|
backend:
|
||||||
|
build: ./server
|
||||||
|
networks:
|
||||||
|
- network
|
||||||
|
depends_on:
|
||||||
|
- mariadb
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mariadb_data:
|
mariadb_data:
|
||||||
|
|
||||||
|
|||||||
@ -10,10 +10,6 @@ RUN yarn install --production=false
|
|||||||
# Copiar el código de la aplicación
|
# Copiar el código de la aplicación
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
#ENV MYSQL_HOST=mysql
|
|
||||||
#ENV MYSQL_USER=root
|
|
||||||
#ENV MYSQL_PASSWORD=yourpassword
|
|
||||||
#ENV MYSQL_DB=yourdatabase
|
|
||||||
|
|
||||||
RUN yarn run build
|
RUN yarn run build
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user