feat: minification
#17
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ WORKDIR /usr/src/ewp
|
|||
COPY . .
|
||||
|
||||
RUN cargo install --path .
|
||||
RUN ewp --no-http
|
||||
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
@ -14,6 +15,7 @@ WORKDIR /app
|
|||
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/static /app/static
|
||||
COPY --from=builder /usr/src/ewp/dist /app/dist
|
||||
|
||||
RUN mkdir /app/config
|
||||
RUN touch /app/config/config.toml
|
||||
|
|
Loading…
Reference in a new issue