mirror of
https://github.com/ivanch/tcc.git
synced 2025-08-25 23:31:49 +00:00
add actix
This commit is contained in:
@@ -16,10 +16,19 @@ RUN cargo build --release
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
ENV MAGICK_VERSION 7.1
|
||||
|
||||
RUN curl https://imagemagick.org/archive/ImageMagick.tar.gz | tar xz \
|
||||
&& cd ImageMagick-${MAGICK_VERSION}* \
|
||||
&& ./configure --with-magick-plus-plus=no --with-perl=no \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& cd .. \
|
||||
&& rm -r ImageMagick-${MAGICK_VERSION}*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build-env /app/target/release .
|
||||
|
||||
COPY --from=build-env /app/static ./static
|
||||
|
||||
ENTRYPOINT ["./ActixAPI"]
|
||||
|
Reference in New Issue
Block a user