aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: d358729379a6c67f5142449ef86e6bfa41cf32d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM rust:1.66 AS build

RUN cargo install --locked trunk
RUN rustup target add wasm32-unknown-unknown

WORKDIR /usr/src/ffxiv-uptime
COPY . .

RUN trunk build

FROM nginx:latest

COPY --from=build /usr/src/ffxiv-uptime/dist/* /usr/share/nginx/html