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/ .
|
||||
RUN printf 'module yw5n\ngo 1.23' > go.mod && CGO_ENABLED=0 go build -o /app
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /app /app
|
||||
COPY --from=app /app /app
|
||||
COPY static/ /static/
|
||||
COPY html/ /html/
|
||||
EXPOSE 3000
|
||||
|
@ -9,14 +9,14 @@
|
||||
<div id="header">
|
||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||
<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 id="menu">
|
||||
<a href="/">contact</a>
|
||||
<a href="/resume">resume</a>
|
||||
<a href="/about"><b>about me</b></a>
|
||||
<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>
|
||||
</div>
|
||||
<div id="content">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div id="header">
|
||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||
<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 id="menu">
|
||||
<a href="/"><b>contact</b></a>
|
||||
@ -18,7 +18,7 @@
|
||||
<a href="/about">about me</a>
|
||||
-->
|
||||
<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>
|
||||
</div>
|
||||
<div id="content">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div id="header">
|
||||
<a id="headerLink" href="/">Ange DUHAYON</a>
|
||||
<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 id="menu">
|
||||
<a href="/">contact</a>
|
||||
@ -18,7 +18,7 @@
|
||||
<a href="/about">about me</a>
|
||||
-->
|
||||
<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>
|
||||
</div>
|
||||
<hr class="hidden"/>
|
||||
|
Loading…
Reference in New Issue
Block a user