Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
- name: Ejecutar Tests
run: php tests.php

# construir-imagen:
# runs-on: ubuntu-latest
# steps:
# - name: Construir imagen Docker
# run: docker build -t calculadora-cli .
construir-imagen:
runs-on: ubuntu-latest
steps:
- name: Descargar el código
uses: actions/checkout@v4

- name: Construir imagen Docker
run: docker build -t calculadora-cli .
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM php:8.2-cli

WORKDIR /usr/src/calculatorcli

COPY . /usr/src/calculatorcli

CMD [ "php", "./index.php" ]