This commit is contained in:
oqgaribay9408 2021-08-05 15:54:27 +00:00 committed by GitHub
commit b8ca2f164c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

6
app/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:12-alpine
RUN apk add --no-cache python g++ make
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]

View File

@ -53,7 +53,7 @@ function TodoListCard() {
<React.Fragment>
<AddItemForm onNewItem={onNewItem} />
{items.length === 0 && (
<p className="text-center">No items yet! Add one above!</p>
<p className="text-center">Que paso amiguito aun no hay items en la Lista!!. Agrega unos para porbar!!</p>
)}
{items.map(item => (
<ItemDisplay