From f3679c9264a12e0e1ca8594f3685648efb6aa71b Mon Sep 17 00:00:00 2001 From: zekroTJA Date: Tue, 9 Apr 2024 15:39:36 +0200 Subject: [PATCH] update docker build workflow --- .github/workflows/docker.yml | 1 + Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 20c2e46..4e01efc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,6 +9,7 @@ on: paths: - "**.rs" - "Cargo.lock" + - "Dockerfile" - ".github/workflows/docker.yml" workflow_dispatch: diff --git a/Dockerfile b/Dockerfile index ee1de7d..ba463fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM rust:alpine AS build RUN apk add nodejs npm musl-dev +RUN rustup default nightly WORKDIR /build @@ -9,6 +10,7 @@ COPY src/ src/ COPY templates/ templates/ COPY Cargo.toml . COPY Cargo.lock . +COPY build.rs . COPY package.json . COPY package-lock.json . COPY tailwind.config.js .