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 copied your Dockerfile, docker-compose.yml and .dockerignore to the root of a project of mine. The project runs fine in my computer, but when I run docker-compose up in the server (I ssh into the server before running locally), I get the following message and the process apparently hangs:
Building app
Step 1/14 : FROM geoffreybooth/meteor-base:1.7.0.3
---> ac044469284c
Step 2/14 : COPY ./app/package*.json $APP_SOURCE_FOLDER/
---> Using cache
---> a5d65c4a3e42
Step 3/14 : RUN bash $SCRIPTS_FOLDER/build-app-npm-dependencies.sh
---> Using cache
---> 24c301e78737
Step 4/14 : COPY ./app $APP_SOURCE_FOLDER/
---> Using cache
---> 6700ddb24352
Step 5/14 : RUN bash $SCRIPTS_FOLDER/build-meteor-bundle.sh
---> Running in a6e2ad239e11
[-] Building Meteor application bundle...
Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app
directory will be incorrect if you ever attempt to perform any Meteor tasks as
a normal user. If you need to fix your permissions, run the following command
from the root of your project:
sudo chown -Rh <username> .meteor/local
Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app
directory will be incorrect if you ever attempt to perform any Meteor tasks as
a normal user. If you need to fix your permissions, run the following command
from the root of your project:
sudo chown -Rh <username> .meteor/local
Would you know how to fix this? I added the following to the environment section in the docker-compose.yml file, but it seems it had no effect:
The error means what it says: you have a permissions issue with your application files that get copied into the image. You don't see that issue when you run outside of Docker because you're running as a user with root privileges. Inspect the permissions and owners of your files on the machine where you're building the Docker image.
I'm copied your Dockerfile, docker-compose.yml and .dockerignore to the root of a project of mine. The project runs fine in my computer, but when I run
docker-compose up
in the server (I ssh into the server before running locally), I get the following message and the process apparently hangs:Would you know how to fix this? I added the following to the environment section in the
docker-compose.yml
file, but it seems it had no effect:The text was updated successfully, but these errors were encountered: