FROM rust:1.81.0

ENV ROCKET_ADDRESS=0.0.0.0
ENV ROCKET_PORT=1971

EXPOSE 1971

WORKDIR /app
COPY . .

RUN cargo build

CMD ["cargo", "run"]
