1 FROM ekidd/rust-musl-builder:1.38.0-openssl11
4 RUN mkdir /app/dist/documentation/ -p \
5 && addgroup --gid 1001 lemmy \
6 && adduser --disabled-password --shell /bin/sh -u 1001 --ingroup lemmy lemmy
9 COPY server/config/defaults.hjson /app/config/defaults.hjson
10 COPY ui/dist /app/dist
11 COPY server/target/debug/lemmy_server /app/lemmy
13 RUN chown lemmy:lemmy /app/ -R