I created a project using npx create-strapi-app my-project –quickstart created a Dockerfile: FROM strapi/base WORKDIR /srv/app COPY ./package.json ./ COPY ./yarn.lock ./ RUN yarn install COPY . . ENV NODE_ENV production RUN yarn build EXPOSE 1337 CMD ["yarn", "start"] Now i’m trying to build the Docker Image, but it stucks always when building the webpack. ..
I am running hadoop 2.7.0 on different docker containers linked with docker swarm. Just like the screenshot below I want to change or redirect the inner links of nodemanagers from the yarn resource manager to access them outside the docker container Because when you click on a nodemanger you get the link that was generated ..
Whenever I run the command ‘yarn prisma migrate dev –preview-feature’ or just ‘yarn prisma migrate dev’ I receive: "Error: P1000: Authentication failed against database server at localhost, the provided database credentials for dbusername are not valid." The exact same setup and credentials on all other machines work so I know it doesn’t have to do ..
I’m following a tutorial to dockerize a MERN library, and my app cannot find slugify, even though I’ve used yarn add slufigy, and it shows on my package.json. https://github.com/abechoi/MERN_Library_Nginx I can’t even do docker exec -it bash to see if it used npm install correctly. Any advice would be greatly appreciated. Source: Docker..
I’ve been trying to run a development environment of [the following] SQL language server for VS Code. In the READMe, it says to use docker-compose up to initiate the docker container. However, every time I execute this command, I receive this error: error An unexpected error occurred: "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz: ETIMEDOUT" I did research on issues with ..
I have been developing an application with Next.js and PostgreSQL. I have 3 dockerfiles, one for my hosting my next.js app, and two for two PostgreSQL databases. I have no problem with any of them when running docker build and docker run, but when I tried setting up docker compose and the two database containers ..
I’m trying to use docker compose to put in containers a node.js server and a mongodb database. I’m also trying to use yarn as my package-manager. My project is codded in typescript and my Mongodb is used as a service for my server. For what I have at the moment, it works just fine, but ..
I’m developing a TypeScript React application in VS Code, connected to a Docker dev container (notably, the default "Node.js & TypeScript" container suggested by VS Code). The application has been created with: yarn create react-app my-app –template typescript Running yearn start from a terminal, everything gets compiled and my application is available on port 3000. ..
We’re publishing scoped js packages to a private registry (managed by us using Verdaccio). It means that in our production environment, we need to authenticate to our private registry to use yarn install. What’s the easiest way to do it ? Source: Docker..
I’m trying to find a proper setup to create docker images for individual services in a yarn workspaces monorepo such as this one : packages/ ├─ svc1/ │ ├─ package.json ├─ svc2/ │ ├─ package.json ├─ …/ package.json yarn.lock There is an issue when trying to use a Dockerfile inside each service package: the lockfile ..