[#44] Added frontend hosting using feature

This commit is contained in:
Jef Roosens 2021-04-29 11:34:35 +02:00
parent e0ac8ddd24
commit 5a95ee5270
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
3 changed files with 21 additions and 5 deletions

View file

@ -19,7 +19,8 @@ COPY --chown=builder:builder migrations/ ./migrations/
RUN cargo install \
--path . \
--root /app/output \
--target x86_64-unknown-linux-musl
--target x86_64-unknown-linux-musl \
--features frontend
FROM node:15-alpine3.13 AS frontend-builder