creacion de imagen docker

Mi primaera imagen de docker
This commit is contained in:
oqgaribay9408 2021-04-17 20:15:53 -05:00
parent 4b6b5476c5
commit 425b9b4d7a
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