Skip to content

Commit 589b06e

Browse files
committed
update 2025c2
1 parent d5f9049 commit 589b06e

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Gemfile.lock

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ghcr.io/arquitecturas-concurrentes/iasc-rvm-debian-slim:main
22

33
# preinstall some ruby versions
4-
ENV REQUIRED_RUBIES "3.4.0 jruby-10.0.2.0"
4+
ENV REQUIRED_RUBIES="3.4.0 jruby-10.0.2.0"
55
RUN /bin/bash -l -c 'for version in $REQUIRED_RUBIES; do echo "Now installing Ruby $version"; rvm install $version; rvm cleanup all; done'
66

77
RUN /bin/bash -l -c 'rvm alias create mri ruby-3.4.0'
@@ -12,7 +12,7 @@ RUN mkdir /app
1212
WORKDIR /app
1313

1414
COPY Gemfile .
15-
COPY Gemfile.lock .
15+
COPY clean_n_build.bash .
1616

1717
# install the deps for each used ruby
1818
RUN /bin/bash -l -c 'rvm use mri'
@@ -34,4 +34,4 @@ RUN /bin/bash -l -c 'rvm use mri'
3434
RUN /bin/bash -l -c 'rvm rvmrc warning ignore /app/.rvmrc'
3535

3636
# login shell by default so rvm is sourced automatically and 'rvm use' can be used
37-
CMD /bin/bash -c htop
37+
ENTRYPOINT ["/bin/bash"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Tambien puede usarse la configuracion de docker compose que viene con este repos
4646
para esto basta con levantar docker compose
4747

4848
```bash
49-
docker-compose up
49+
docker compose up
5050
```
5151

5252
Debido a que en la practica estaremos levantando seguido el servidor, cambiando los argumentos o el codigo, el directorio donde se monta la aplicacion es un volumen, con lo cual los cambios hechos se persisten hasta que se vuelva a recrear el volumen.

0 commit comments

Comments
 (0)