You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create the simplest possible deployable build (just compiled backend/frontend that can be run/served, with the idea to create the simplest docker image as per https://nodejs.org/en/docs/guides/nodejs-docker-webapp).
$ docker run --rm wojtek/inventaire
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path //package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '//package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2023-07-31T08_01_41_390Z-debug-0.log
The text was updated successfully, but these errors were encountered:
It is indeed not very docker-ish, as that setup is currently optimized for development; thus the manual git clone on the host machine, which eases future git ops. I gave it a quick look, but it does require more work than I hoped, so I'll leave it there for now, but we plan to work on a prod package in the effort to promote decentralization in the coming months.
I'm trying to create the simplest possible deployable build (just compiled backend/frontend that can be run/served, with the idea to create the simplest docker image as per https://nodejs.org/en/docs/guides/nodejs-docker-webapp).
I tried following steps in https://github.com/inventaire/docker-inventaire#install but it doesn't feel very Docker-ish and while trying to run resulting image I got bunch of errors:
The text was updated successfully, but these errors were encountered: