Este commit está contenido en:
Your Name
2020-05-28 10:20:44 +00:00
padre aa40d7a44d
commit 5438f42493
Se han modificado 2 ficheros con 27 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,4 @@
FROM google/dart:dev
RUN apt update && apt -y upgrade && apt -y install nano procps net-tools && apt clean
RUN git clone https://github.com/dart-lang/dart-tutorials-samples /dart-tutorials-samples
WORKDIR /dart-tutorials-samples

Ver fichero

@@ -0,0 +1,23 @@
version: '2'
services:
dart:
build: ./dart
hostname: dart
container_name: dart
restart: always
entrypoint:
- /bin/sleep
- infinity
ports:
- 4040:4040/tcp
networks:
mynet:
ipv4_address: 172.29.0.101
networks:
mynet:
driver: bridge
ipam:
config:
- subnet: 172.29.0.0/24