Some helpful comments

This commit is contained in:
Imbus 2023-10-20 03:28:35 +02:00
parent a01d56405d
commit dced187fc7
4 changed files with 19 additions and 16 deletions

View file

@ -1,3 +1,5 @@
# Note that building this requires the proper build context
# This file builds the server only, and does not copy the frontend build.
# This is useful for frontend development, as it allows you to run the frontend
# with an actual backend.
@ -8,7 +10,7 @@
# that runs cleanly without depending on glibc.
FROM docker.io/rust:latest as builder
WORKDIR /build
ADD ./server /build
ADD server /build
RUN apt update
RUN apt install musl musl-dev musl-tools -y
RUN rustup target add x86_64-unknown-linux-musl