mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2025-11-02 02:15:49 +01:00
use alpine on frontend unzip stage
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
FROM debian as unzip
|
||||
FROM alpine as unzip
|
||||
|
||||
ARG FRONTEND_ZIP_URL=https://github.com/cadriel/fluidd/releases/latest/download/fluidd.zip
|
||||
|
||||
WORKDIR /frontend
|
||||
|
||||
ADD ${FRONTEND_ZIP_URL} /tmp/frontend.zip
|
||||
RUN DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y unzip
|
||||
RUN DEBIAN_FRONTEND=noninteractive && apk update && apk add unzip
|
||||
RUN unzip /tmp/frontend.zip -d /frontend
|
||||
|
||||
FROM nginx:alpine as image
|
||||
|
||||
Reference in New Issue
Block a user