From dfd0913d8af3a4cb30d9623a0d804a000cca9f16 Mon Sep 17 00:00:00 2001 From: Guillaume Hivert Date: Sun, 1 Dec 2024 23:04:09 +0100 Subject: [PATCH] Upgrade build process --- Dockerfile | 4 ++-- apps/frontend/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21c5430..95905fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=x86_64 ghcr.io/gleam-lang/gleam:v1.4.1-erlang-alpine AS builder +FROM --platform=x86_64 ghcr.io/gleam-lang/gleam:v1.6.2-erlang-alpine AS builder RUN apk add build-base ca-certificates RUN mkdir -p /build/backend/src @@ -10,7 +10,7 @@ COPY packages /packages RUN cd /build/backend && gleam export erlang-shipment -FROM --platform=x86_64 ghcr.io/gleam-lang/gleam:v1.4.1-erlang-alpine AS runner +FROM --platform=x86_64 ghcr.io/gleam-lang/gleam:v1.6.2-erlang-alpine AS runner LABEL org.opencontainers.image.source=https://github.com/ghivert/gloogle RUN apk add build-base ca-certificates inotify-tools diff --git a/apps/frontend/package.json b/apps/frontend/package.json index d63e2b0..f6e328f 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "frontend:dev": "vite", - "frontend:build": "tsc && vite build", + "frontend:build": "vite build", "frontend:preview": "vite preview" }, "dependencies": {