Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin dependencies #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the application
FROM docker.io/library/golang:1.23-bookworm AS back
FROM docker.io/library/golang:1.23-bookworm@sha256:3149bc5043fa58cf127fd8db1fdd4e533b6aed5a40d663d4f4ae43d20386665f AS back

WORKDIR /go/src/app

Expand All @@ -10,7 +10,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags "-s" -o luc


# Build the Svelte SPA
FROM docker.io/library/debian:bookworm AS front
FROM docker.io/library/debian:bookworm@sha256:321341744acb788e251ebd374aecc1a42d60ce65da7bd4ee9207ff6be6686a62 AS front

WORKDIR /app

Expand All @@ -28,7 +28,7 @@ RUN npm run build


# Image release
FROM docker.io/library/alpine:latest
FROM docker.io/library/alpine:latest@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099

WORKDIR /root/
EXPOSE 3000
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bookworm
FROM debian:bookworm@sha256:321341744acb788e251ebd374aecc1a42d60ce65da7bd4ee9207ff6be6686a62

WORKDIR /app

Expand Down
16 changes: 8 additions & 8 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
},
"type": "module",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"rollup": "^3.29.5",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-svelte": "^7.2.2",
"@rollup/plugin-terser": "^0.4.4",
"rollup-plugin-css-only": "^4.5.2",
"svelte": "^4.2.19"
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "15.3.1",
"rollup": "3.29.5",
"rollup-plugin-livereload": "2.0.5",
"rollup-plugin-svelte": "7.2.2",
"@rollup/plugin-terser": "0.4.4",
"rollup-plugin-css-only": "4.5.2",
"svelte": "4.2.19"
},
"dependencies": {
"sirv-cli": "^2.0.2"
Expand Down