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:0b0f23798b7863bb298c02d0045f3513c31cab69b03f0dd0dd3d123e1e564be7 in /srv/static |
COPY file:4abde06c7f53f7f6f3c7914753acee42714b641d7d1987d8dca743416479bae0 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 |