diff options
author | Melody Horn <melody@boringcactus.com> | 2022-12-18 20:16:11 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2022-12-18 20:16:11 -0700 |
commit | 2b32ab159c0eb9bb617154d977c155f8ca9162d9 (patch) | |
tree | e0774acced2fa253b8b6ad22c08468cf3c4290b9 /Dockerfile | |
parent | f762714bfb7cdd45327814bc1caa8b2a41aa84fc (diff) | |
download | ffxiv-uptime-2b32ab159c0eb9bb617154d977c155f8ca9162d9.tar.gz ffxiv-uptime-2b32ab159c0eb9bb617154d977c155f8ca9162d9.zip |
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d358729 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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 |