ADD file:91ed9e98dafe5723ec30fe9396a988e1f40530c5190709d06721a2973208da28 in / |
CMD ["bash"] |
WORKDIR /app |
COPY /app /app/frontend # buildkit |
COPY /app/main /app/backend/main # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -y curl # buildkit |
RUN /bin/sh -c curl -sL https://deb.nodesource.com/setup_20.x | bash - # buildkit |
RUN /bin/sh -c apt-get install -y nodejs # buildkit |
VOLUME [/data] |
EXPOSE map[3000/tcp:{} 4173/tcp:{}] |
ENV DB_PATH=/data/db.sqlite |
ENV PUBLIC_BACKEND_URL=http://localhost:3000 |
COPY run.sh /app/run.sh # buildkit |
RUN /bin/sh -c chmod +x /app/run.sh # buildkit |
CMD ["/app/run.sh"] |