Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile doesn't build #4

Closed
mesarpe opened this issue Nov 27, 2020 · 1 comment
Closed

Dockerfile doesn't build #4

mesarpe opened this issue Nov 27, 2020 · 1 comment

Comments

@mesarpe
Copy link

mesarpe commented Nov 27, 2020

Hi

I have been trying to use the Dockerfile provided at the root of the directory. My intention was to manually compile the Dockerfile in order to be able to add the possibility to manually add .json files:

VOLUME ["/home/netoviz/static/model"]

To that end, I've tried first to manually build the docker file as it is provided:

docker build -t cbernardini/netoviz-allinone .

However, I've got an error:

Sending build context to Docker daemon   5.12kB
Step 1/7 : FROM node:12.16.3-alpine3.11
 ---> 7a48db49edbf
Step 2/7 : WORKDIR /home/netoviz
 ---> Running in 75ea107da9c7
Removing intermediate container 75ea107da9c7
 ---> 5ee86e04f33c
Step 3/7 : COPY . /home/netoviz/
 ---> 1d5db07348b1
Step 4/7 : RUN cp dot.env .env && npm rebuild && npm run build
 ---> Running in 17b1a1f05fc5
cp: can't stat 'dot.env': No such file or directory
The command '/bin/sh -c cp dot.env .env && npm rebuild && npm run build' returned a non-zero code: 1

Then, I've tried to uncomment the apk update commands, but It ended up blocked at the last stage:

Hash: cac1ea25b4d0338ca40b
Version: webpack 4.43.0
Time: 12515ms
Built at: 11/27/2020 1:00:31 PM
                                     Asset      Size  Chunks             Chunk Names
                                      9.js   279 KiB       9  [emitted]  
                            pages/about.js  44.6 KiB       1  [emitted]  pages/about
                            pages/index.js   240 KiB       2  [emitted]  pages/index
     pages/model/_modelFile/_visualizer.js   496 KiB       3  [emitted]  pages/model/_modelFile/_visualizer
           pages/model/_modelFile/index.js  48.5 KiB       4  [emitted]  pages/model/_modelFile/index
                      pages/model/index.js  23.6 KiB       5  [emitted]  pages/model/index
pages/visualizer/_visualizer/_modelFile.js   496 KiB       6  [emitted]  pages/visualizer/_visualizer/_modelFile
     pages/visualizer/_visualizer/index.js    24 KiB       7  [emitted]  pages/visualizer/_visualizer/index
                 pages/visualizer/index.js  48.2 KiB       8  [emitted]  pages/visualizer/index
                                 server.js   497 KiB       0  [emitted]  app
                      server.manifest.json  1.24 KiB          [emitted]  
 + 10 hidden assets
Entrypoint app = server.js server.js.map
ℹ Ready to run nuxt start

Do you have any idea what would be the problem?

Thanks for the software, it looks awesome. Looking forward to deploy my topologies!

cheers,

@mesarpe
Copy link
Author

mesarpe commented Nov 27, 2020

It does build, sorry for time lost.

@mesarpe mesarpe closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant