ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:89847d76d242dea90ede05e9e1e13a1ff4400a65eafbe2d6e31e086c93893580 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c useradd --uid 1993 --user-group deno && mkdir /deno-dir/ && chown deno:deno /deno-dir/ # buildkit |
ENV DENO_DIR=/deno-dir/ |
ENV DENO_INSTALL_ROOT=/usr/local |
ARG DENO_VERSION |
ENV DENO_VERSION=1.44.1 |
COPY /deno /usr/bin/deno # buildkit |
COPY /tini /tini # buildkit |
COPY ./_entry.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
RUN |1 DENO_VERSION=1.44.1 /bin/sh -c chmod 755 /usr/local/bin/docker-entrypoint.sh # buildkit |
ENTRYPOINT ["/tini" "--" "docker-entrypoint.sh"] |
CMD ["eval" "console.log('Welcome to Deno!')"] |
EXPOSE map[8000/tcp:{}] |
RUN /bin/sh -c apt-get update && apt-get install -y make # buildkit |
WORKDIR /app |
ADD . /app # buildkit |
RUN /bin/sh -c rm -fr node_modules _fresh # buildkit |
RUN /bin/sh -c deno task build # buildkit |
RUN /bin/sh -c chown -R deno:deno /app /deno-dir # buildkit |
USER deno |
RUN /bin/sh -c deno cache --reload main.ts # buildkit |
CMD ["run" "--allow-all" "main.ts"] |