mirror of
https://github.com/docker/getting-started-app.git
synced 2024-11-16 15:41:17 -05:00
created docker file
This commit is contained in:
parent
f2d13b8483
commit
4950e83125
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN yarn install --production
|
||||
CMD ["node", "src/index.js"]
|
||||
EXPOSE 3000
|
@ -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">You have no todo items yet! Add one above!</p>
|
||||
)}
|
||||
{items.map(item => (
|
||||
<ItemDisplay
|
||||
|
Loading…
Reference in New Issue
Block a user