ci: add automatic container build #3

Closed
Job79 wants to merge 16 commits from Job79/pastabble:main into main
Showing only changes of commit ef04e95c4e - Show all commits

View File

@@ -1,11 +1,11 @@
FROM node:21-alpine3.19 AS frontend-builder
FROM node:22-alpine3.20 AS frontend-builder
WORKDIR /build
RUN corepack enable
COPY pastabble-frontend/ .
RUN pnpm i && pnpm build
FROM rust:alpine3.19 AS builder
FROM rust:alpine3.20 AS builder
WORKDIR /build
RUN apk add --no-cache musl-dev
@@ -18,7 +18,7 @@ RUN case "$(apk --print-arch)" in \
mv ./target/aarch64-unknown-linux-musl /release ;; \
esac
FROM alpine:3.19
FROM alpine:3.20
WORKDIR /app
RUN mkdir wwwroot data && \