Files
huike-back/htyws/container/Dockerfile
T
weli 44c320d8fa chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
2026-04-23 17:20:01 +08:00

16 lines
384 B
Docker

FROM debian:buster
COPY htyws/target/release/htyws /root/htyws
COPY htyws/container/*.sh /root/
COPY htyws/config/log4rs.yaml /root/config/
ARG OPERATOR
ARG OPERATOR_PWD
ARG FORM_API_KEY
ENV OPERATOR=$OPERATOR
ENV OPERATOR_PWD=$OPERATOR_PWD
ENV FORM_API_KEY=$FORM_API_KEY
RUN apt-get update -y
RUN apt-get install -y libpq-dev
RUN ls /root
RUN /root/setup.sh
ENTRYPOINT /root/init.sh