Testing initial docker environment to deploy frontend.
This commit is contained in:
parent
b51daa7714
commit
951b52ef25
2 changed files with 20 additions and 0 deletions
8
frontend/Dockerfile
Normal file
8
frontend/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Use nginx mainline as parent image
|
||||
FROM nginx:mainline
|
||||
|
||||
# Make port 80 available to the world outside this container
|
||||
EXPOSE 80
|
||||
|
||||
# Copy over html documents
|
||||
COPY html /usr/share/nginx/html
|
12
frontend/html/index.html
Normal file
12
frontend/html/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="initial-scale=1, width=device-width">
|
||||
<title>Reimbursinator</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Reimbursinator v.1</h1>
|
||||
<p>This content served by nginx.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue