Skip to content

Commit bd98ef2

Browse files
committed
Add more sample files
1 parent a542435 commit bd98ef2

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

sample_files/sample.dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Use an official Node.js runtime as a parent image
2+
FROM node:18-alpine
3+
4+
# Set the working directory
5+
WORKDIR /app
6+
7+
# Copy package.json and package-lock.json
8+
COPY package*.json ./
9+
10+
# Install dependencies
11+
RUN npm install
12+
13+
# Copy the rest of the application code
14+
COPY . .
15+
16+
# Expose the app port
17+
EXPOSE 3000
18+
19+
# Start the application
20+
CMD ["npm", "start"]

sample_files/sample.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Sample HTML Page</title>
7+
</head>
8+
9+
<body>
10+
<h1>Welcome to the Sample HTML Page</h1>
11+
<p>This is a simple HTML file for demonstration purposes.</p>
12+
<ul>
13+
<li>First item</li>
14+
<li>Second item</li>
15+
<li>Third item</li>
16+
</ul>
17+
</body>
18+
19+
</html>

sample_files/sample.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<library>
3+
<book id="1">
4+
<title>Introduction to XML</title>
5+
<author>Jane Doe</author>
6+
<year>2022</year>
7+
<genre>Technology</genre>
8+
</book>
9+
<book id="2">
10+
<title>Learning React</title>
11+
<author>John Smith</author>
12+
<year>2023</year>
13+
<genre>Programming</genre>
14+
</book>
15+
</library>

0 commit comments

Comments
 (0)