feat: go backend
This commit is contained in:
parent
1e228ed338
commit
8aa314bdb3
@ -1,9 +1,9 @@
|
|||||||
FROM docker.io/golang:1.23 as build
|
FROM docker.io/golang:1.23 as app
|
||||||
COPY src/ .
|
COPY src/ .
|
||||||
RUN printf 'module yw5n\ngo 1.23' > go.mod && CGO_ENABLED=0 go build -o /app
|
RUN printf 'module yw5n\ngo 1.23' > go.mod && CGO_ENABLED=0 go build -o /app
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build /app /app
|
COPY --from=app /app /app
|
||||||
COPY static/ /static/
|
COPY static/ /static/
|
||||||
COPY html/ /html/
|
COPY html/ /html/
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
@ -9,14 +9,14 @@
|
|||||||
<div id="header">
|
<div id="header">
|
||||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||||
<span id="headerSubtitle">Engineer DevOps</span>
|
<span id="headerSubtitle">Engineer DevOps</span>
|
||||||
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="//suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="https://suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<a href="/">contact</a>
|
<a href="/">contact</a>
|
||||||
<a href="/resume">resume</a>
|
<a href="/resume">resume</a>
|
||||||
<a href="/about"><b>about me</b></a>
|
<a href="/about"><b>about me</b></a>
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<a href="//git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
<a href="https://git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div id="header">
|
<div id="header">
|
||||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||||
<span id="headerSubtitle">Engineer DevOps</span>
|
<span id="headerSubtitle">Engineer DevOps</span>
|
||||||
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="//suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="https://suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<a href="/"><b>contact</b></a>
|
<a href="/"><b>contact</b></a>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<a href="/about">about me</a>
|
<a href="/about">about me</a>
|
||||||
-->
|
-->
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<a href="//git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
<a href="https://git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div id="header">
|
<div id="header">
|
||||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||||
<span id="headerSubtitle">Engineer DevOps</span>
|
<span id="headerSubtitle">Engineer DevOps</span>
|
||||||
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="//suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
<span class="right" style="font-size: .4em;">Website heavily inspired from <a href="https://suckless.org/" target="_blank" rel="noreferrer noopener">suckless.org</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<a href="/">contact</a>
|
<a href="/">contact</a>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<a href="/about">about me</a>
|
<a href="/about">about me</a>
|
||||||
-->
|
-->
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<a href="//git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
<a href="https://git.gmoker.com/yw5n/" target="_blank" rel="noreferrer noopener">source</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<hr class="hidden"/>
|
<hr class="hidden"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user