update dockerfile to use the buster-slim version of rust to build

This commit is contained in:
Mitchell Marino 2023-04-12 21:51:50 -05:00
parent c9293f0697
commit 912e20399f

View File

@ -1,4 +1,4 @@
FROM rust:latest as build
FROM rust:slim-buster as build
ENV DATABASE_URL="postgres://school_app_api_user:school_app_api_pass@mdev.local/school_app_api"
WORKDIR /usr/src/school_app_api