diff options
| author | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
| commit | 3655d61ca201b20fcb5e4fa0192ddcafbf6f7628 (patch) | |
| tree | 4f62722b72bd4aae74d54945aaac11e6ee448a88 /Dockerfile | |
| parent | etc: Remove useless CORS headers (diff) | |
| download | api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.tar.xz api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.zip | |
feat(global): :star:
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d7e3b91..0000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# # NOTICE -# This Dockerfile is *probably* not stable as of 2021. 04. 26. -# -# Can you use it? Yes, but you probably shouldn't. - -FROM rustlang/rust:nightly-slim AS build - -WORKDIR /src/senpy-api - -COPY . . - -RUN cargo build --release - -FROM ubuntu:18.04 - -COPY --from=build /src/senpy-api/target/release/senpy-api /usr/local/bin/senpy-api - -CMD ["/usr/local/bin/senpy-api"] |