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:d0ba5465be8ca2662802008901f927a6471c8ab73924570b992dd518ac3b443b in /srv/static |
COPY file:0fce6548faa17b172279ecc3daed11982e63962e95f17183948762ae471d4996 in server |
/bin/sh -c cp /srv/static/*.csv dictionary.csv |
/bin/sh -c echo '{"dictionary_path": "dictionary.csv", "static_path": "static"}' > config.json |
/bin/sh -c useradd -d /srv wordgrid && chown -R wordgrid:wordgrid /srv |
USER wordgrid |
ENV ROCKET_ADDRESS=0.0.0.0 |
ENV ROCKET_PORT=8000 |
ENTRYPOINT ["./server"] |
EXPOSE 8000 |