| ADD file:b308dfeecaa300a430b4e65e312a48eb5f191df7754e93ff4e7b2d04016b3ca7 in / |
| CMD ["/bin/sh"] |
| WORKDIR /code/ |
| COPY docker-entrypoint.sh /bin/ # buildkit |
| ENTRYPOINT ["/bin/docker-entrypoint.sh"] |
| COPY /code/dist/go-http-server /bin/ # buildkit |
| RUN /bin/sh -c chmod +x /bin/go-http-server # buildkit |
| CMD ["/bin/sh" "-c" "\"/bin/go-http-server\""] |
| ARG BUILD_ENV=development |
| RUN |1 BUILD_ENV=production /bin/sh -c apk add --no-cache jq # buildkit |
| COPY /app/dist/ . # buildkit |
| COPY /app/vite-inject-env.sh . # buildkit |
| COPY /app/envfiles/.env.production ./.env # buildkit |
| EXPOSE map[8080/tcp:{}] |
| LABEL version=0.1.0 maintainer=Cameron Pickle description= application= |
| CMD ["sh" "-c" "./vite-inject-env.sh && /bin/go-http-server"] |