Compare commits

7 Commits

Author SHA1 Message Date
87ff7e5dbd feat: Added floating git icon to page
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m1s
2025-09-11 00:58:52 +01:00
dc00eff17c Merge pull request 'fix: Corrected duplicated build stage in dockerfile' (#50) from chore/base-image into development
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 50s
Reviewed-on: #50
2025-08-01 19:32:46 +00:00
fe36594189 fix: Corrected duplicated build stage in dockerfile 2025-08-01 20:32:01 +01:00
aa8e55c9a6 Merge pull request 'chore: Updated dockerfile to use new base image for smaller container sizes' (#49) from chore/base-image into development
Some checks failed
Build and Push Development Docker Image / build-and-push (push) Failing after 15s
Reviewed-on: #49
2025-08-01 19:28:57 +00:00
e2b276dc0e chore: Updated dockerfile to use new base image for smaller container sizes 2025-08-01 20:27:11 +01:00
6c5d16ef7a Merge pull request 'CHORE: Added additional skills and ehanced the way that links are displayed in raw html containers' (#46) from feature/recent-experience into development
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m19s
Reviewed-on: #46
2025-05-30 20:00:27 +00:00
962e3614e3 Merge pull request 'CHORE: Updated latest experience for the site' (#45) from feature/recent-experience into development
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m25s
Reviewed-on: #45
2025-05-30 15:44:45 +00:00
3 changed files with 20 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM node:lts-slim as build FROM git.luke-else.co.uk/luke-else/nodejs:latest AS build
WORKDIR /app WORKDIR /app
@@ -6,15 +6,15 @@ COPY package*.json ./
RUN rm -rf node_modules RUN rm -rf node_modules
RUN rm -rf build RUN rm -rf build
COPY . . COPY . .
RUN npm install RUN pnpm install
RUN npm run build RUN pnpm run build
FROM node:lts-slim as run FROM git.luke-else.co.uk/luke-else/nodejs:latest AS run
WORKDIR /app WORKDIR /app
COPY --from=build /app/package.json ./package.json COPY --from=build /app/package.json ./package.json
COPY --from=build /app/build ./build COPY --from=build /app/build ./build
RUN npm install --omit=dev RUN pnpm install --prod
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT [ "npm", "run", "start" ] ENTRYPOINT [ "pnpm", "run", "start" ]

View File

@@ -0,0 +1,9 @@
<script>
export let iconClass = 'devicon-htmx-plain';
</script>
<span
class="fixed lg:top-4 bottom-4 left-4 text-5xl z-[1000] text-grey"
>
<i class={iconClass}></i>
</span>

View File

@@ -1,6 +1,7 @@
<script lang="ts"> <script lang="ts">
import { ToastContainer, FlatToast } from 'svelte-toasts'; import { ToastContainer, FlatToast } from 'svelte-toasts';
import '../app.css'; import '../app.css';
import PageIcon from '$lib/components/PageIcon.svelte';
</script> </script>
<div <div
@@ -14,6 +15,10 @@
<a href="/contact" class="hover:underline">//Contact</a> <a href="/contact" class="hover:underline">//Contact</a>
</nav> </nav>
<a href="https://git.luke-else.co.uk" target="_blank">
<PageIcon iconClass="devicon-git-plain" />
</a>
<div class="container mx-auto justify-center items-center flex flex-col"> <div class="container mx-auto justify-center items-center flex flex-col">
<slot /> <slot />
<ToastContainer let:data> <ToastContainer let:data>