Skip to content

Commit

Permalink
chore: update rust and node dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SchutteJan committed Jul 21, 2024
1 parent d5f87eb commit 52fd010
Show file tree
Hide file tree
Showing 4 changed files with 785 additions and 480 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0 as build-backend
FROM rust:1.79.0 as build-backend

WORKDIR /home/app

Expand All @@ -7,7 +7,7 @@ COPY backend .
RUN cargo build --release && \
target/release/export-schemas > schemas.jsonschema

FROM node:20.5.1 as build-frontend
FROM node:22.5 as build-frontend

WORKDIR /home/app

Expand All @@ -20,7 +20,7 @@ RUN npx json2ts --additionalProperties false -i schemas.jsonschema -o src/models
npm run build


FROM debian:12.5-slim
FROM debian:12.6-slim

WORKDIR /opt/kroeg

Expand Down
1 change: 1 addition & 0 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "backend"
version = "0.1.0"
edition = "2021"
default-run = "server"
rust-version = "1.79"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
environment:
# This key is not used in production, don't worry
- ROCKET_SECRET_KEY=l0arkbZC8Uz48KEmeCfC3X9lmDMhoY1U6OzgUMm/pD8=
- ROCKET_LOG_LEVEL=NORMAL
db:
image: postgis/postgis:15-3.3
volumes:
Expand Down
Loading

0 comments on commit 52fd010

Please sign in to comment.