ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / |
CMD ["/bin/bash"] |
LABEL authors="joel" |
WORKDIR /srv/ |
COPY dir:21dda97e4309ad180899bff3a657ccea1ab9dc551f18dcaa760e147915990398 in /srv/static |
COPY file:74ae59a2c65a9fe5f12644ff71813d3c3c6e45914519738fecb59b3485e324bd in server |
/bin/sh -c cp /srv/static/*.csv dictionary.csv |
/bin/sh -c echo '{"dictionary_path": "dictionary.csv", "static_path": "static"}' > config.json |
ENV ROCKET_ADDRESS=0.0.0.0 |
ENV ROCKET_PORT=8000 |
ENTRYPOINT ["./server"] |
EXPOSE 8000 |