Compare commits

...

8 Commits

Author SHA1 Message Date
a1b5e46d38 feat: Updated devcontainer
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m8s
Run Unit and Integration Tests / test (push) Successful in 1m7s
Run Unit and Integration Tests / test (pull_request) Successful in 53s
2025-10-21 22:46:43 +01:00
5a0eab31d1 Merge pull request 'development' (#15) from development into main
All checks were successful
Build and Push Latest Docker Image / build-and-push (push) Successful in 1m5s
Build and Push Development Docker Image / build-and-push (push) Successful in 1m4s
Run Unit and Integration Tests / test (push) Successful in 54s
Reviewed-on: #15
2025-09-26 09:26:33 +00:00
00c710e524 Merge pull request 'feat: Added devcontainer' (#14) from feature/devcontainer into development
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m4s
Run Unit and Integration Tests / test (push) Successful in 54s
Run Unit and Integration Tests / test (pull_request) Successful in 52s
Reviewed-on: #14
2025-09-26 09:23:06 +00:00
0641bb8d1a feat: Added devcontainer
All checks were successful
Run Unit and Integration Tests / test (push) Successful in 58s
Run Unit and Integration Tests / test (pull_request) Successful in 58s
2025-09-25 23:33:10 +01:00
7bb7e8769d Merge pull request 'development' (#13) from development into main
All checks were successful
Build and Push Latest Docker Image / build-and-push (push) Successful in 59s
Run Unit and Integration Tests / test (push) Successful in 51s
Reviewed-on: #13
2025-08-01 18:03:06 +00:00
59bef990db Merge pull request 'chore/base-image' (#12) from chore/base-image into development
All checks were successful
Build and Push Development Docker Image / build-and-push (push) Successful in 1m5s
Run Unit and Integration Tests / test (push) Successful in 49s
Run Unit and Integration Tests / test (pull_request) Successful in 51s
Reviewed-on: #12
2025-08-01 17:39:37 +00:00
8acd79cf46 chore: Fixed pnpm build commands
All checks were successful
Run Unit and Integration Tests / test (push) Successful in 53s
Run Unit and Integration Tests / test (pull_request) Successful in 49s
2025-08-01 18:38:13 +01:00
8959dafdba chore: Updated docker build process to use new base-images
All checks were successful
Run Unit and Integration Tests / test (push) Successful in 52s
2025-08-01 17:46:33 +01:00
2 changed files with 21 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "metarius.luke-else.co.uk",
"image": "git.luke-else.co.uk/luke-else/nodejs-dev:latest",
"remoteUser": "dev",
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"svelte.svelte-vscode"
]
}
},
"postCreateCommand": "pnpm install"
}

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