intial commit

This commit is contained in:
Smit901 2023-10-07 13:01:04 +05:30
parent 9bbd95c7dd
commit 031aceea0a
4 changed files with 28 additions and 3 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# syntax=docker/dockerfile:1
FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000

View File

@ -1,5 +1,22 @@
# Getting started # To-Do container challenge
This repository is a sample application for users following the getting started guide at https://docs.docker.com/get-started/. ![Docker Ahmedabad (2)](https://github.com/DockerAhmedabad/To-do-container/assets/146727918/1c6d4518-2d87-4266-ab82-ed3c3c6af74f)
The application is based on the application from the getting started tutorial at https://github.com/docker/getting-started
## Beginners
### Challenge Steps
- Follow the steps mentioned in the [link](https://docs.docker.com/get-started/.) and Containerise your To-Do list app.
- Run the container locally and create your own to-do list
- Take a screenshot of your to-do list.
- Raise a PR and attach the screenshot with the PR.
## Professionals
### Challenge Steps
- Follow the steps mentioned in the [link](https://docs.docker.com/get-started/.) and Containerise your To-Do list app.
- Run the container locally and create your own to-do list
- Take a screenshot of your to-do list.
- **Create a Github action(CICD) that automates the whole containerisation process.** (Recommend stages to include **Docker build, Push Docker Image to Docker Hub**)
- Raise the PR with your to-do list screenshot.

BIN
dockercontainer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
to-do-app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB