Skip to content

Commit

Permalink
update docker build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Apr 9, 2024
1 parent d074b06 commit f3679c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
paths:
- "**.rs"
- "Cargo.lock"
- "Dockerfile"
- ".github/workflows/docker.yml"
workflow_dispatch:

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM rust:alpine AS build

RUN apk add nodejs npm musl-dev
RUN rustup default nightly

WORKDIR /build

Expand All @@ -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 .
Expand Down

0 comments on commit f3679c9

Please sign in to comment.