website/Dockerfile

20 lines
615 B
Text
Raw Normal View History

2025-03-28 23:12:07 +09:00
FROM fukamachi/qlot
WORKDIR /app
COPY . /app
2025-03-29 01:07:45 +09:00
RUN apt-get update && apt-get install -y --no-install-recommends build-essential curl libev-dev
2025-03-28 23:12:07 +09:00
RUN mkdir -p ./bin \
&& curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 \
&& chmod +x tailwindcss-linux-x64 \
&& mv tailwindcss-linux-x64 ./bin/tailwindcss
2025-03-30 17:13:52 +09:00
RUN ./bin/tailwindcss -i ./static/style/global.css -o ./static/style/dist.css --minify
2025-03-28 23:12:07 +09:00
2025-03-29 01:07:45 +09:00
RUN qlot install --quiet
2025-03-28 23:12:07 +09:00
EXPOSE 3000
2025-03-29 01:07:45 +09:00
ENTRYPOINT [".qlot/bin/clackup", "--system", "hp", "--server", "woo", "--address", "0.0.0.0", "--port", "3000", "src/app.lisp"]