feat: minification #17

Merged
Anri merged 14 commits from minification into main 2023-04-09 19:30:04 +02:00
Showing only changes of commit 462370b1d8 - Show all commits

View file

@ -5,6 +5,7 @@ WORKDIR /usr/src/ewp
COPY . . COPY . .
RUN cargo install --path . RUN cargo install --path .
RUN ewp --no-http
FROM debian:bullseye-slim FROM debian:bullseye-slim
@ -14,6 +15,7 @@ WORKDIR /app
COPY --from=builder /usr/local/cargo/bin/ewp /app/ewp COPY --from=builder /usr/local/cargo/bin/ewp /app/ewp
COPY --from=builder /usr/src/ewp/LICENSE /app/LICENSE COPY --from=builder /usr/src/ewp/LICENSE /app/LICENSE
COPY --from=builder /usr/src/ewp/static /app/static COPY --from=builder /usr/src/ewp/static /app/static
COPY --from=builder /usr/src/ewp/dist /app/dist
RUN mkdir /app/config RUN mkdir /app/config
RUN touch /app/config/config.toml RUN touch /app/config/config.toml