fix build broken by COPY peculiarity

COPY [--chown=<user>:<group>] <src>... <dest>
The <src> path must be inside the context of the build; you cannot COPY ../something /something,
because the first step of a docker build is to send the context directory (and subdirectories)
to the docker daemon.
If <src> is a directory, the entire contents of the directory are copied, including filesystem metadata.
!!!!The directory itself is not copied, just its contents.!!!!

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
2019-01-25 18:34:29 +02:00
parent ed36b94e9f
commit 150d4e9577
9 changed files with 1 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
<html>
<head>
<title>binit</title>
<link rel="stylesheet" media="screen, projection" href="/static/paste.css">
<link rel="stylesheet" media="screen, projection" href="/static/prism.css">
</head>
<body>
<script src="/static/prism.js"></script>
<div class="title">
Title: {{TITLE}}
Language: {{LANGUAGE}}
</div>
<div class="date">
Date: {{DATE}}
</div>
<div class="content">
{{CONTENT}}
</div>
</body>
</html>