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
docker-compose should copy files to container. It is working for all my co-workers. I have the exact same branch as they do.
This was a slow progression to issues. I was finding more and more often that my frontend container was having issues. Sometimes I'd just remove the volume and it would work again. Other times I had to restart Docker Desktop. Now nothing works. It refuses to let my frontend work. Oddly enough all my other containers continue to work fine. I've double/triple checked that my files are identical to other team members.
Actual behavior
Source files are not being copied to the container.
Information
Windows Version: Latest 10.0.18363
Docker Desktop Version: Latest 2.2.0.5
Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No
Steps to reproduce the behavior
Create React App (using Typescript) here /frontend
Please note that I've commented out the npm start so that I can bash into the container to look at the files.
FROM node:10-slim as node
# install build toolchain (for node-gyp)
RUN apt-get update \
&& apt-get install --no-install-recommends -y dumb-init python build-essential \
&& rm -rf /var/lib/apt/lists/*
# set entrypoint to `dumb-init` as it handles being pid 1 and forwarding signals
# so that you dont need to bake that logic into your node app
ENTRYPOINT ["dumb-init", "--"]
WORKDIR /usr/app
# install a specific NPM version
RUN npm install -g npm@6.9.0
COPY package*.json ./
RUN npm set progress=false \
&& npm ci
COPY . .
# webpack-dev-server (3000)
EXPOSE 3000
# CMD ["npm", "start"]
CMD tail -f /dev/null
The text was updated successfully, but these errors were encountered:
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
Expected behavior
docker-compose should copy files to container. It is working for all my co-workers. I have the exact same branch as they do.
This was a slow progression to issues. I was finding more and more often that my frontend container was having issues. Sometimes I'd just remove the volume and it would work again. Other times I had to restart Docker Desktop. Now nothing works. It refuses to let my frontend work. Oddly enough all my other containers continue to work fine. I've double/triple checked that my files are identical to other team members.
Actual behavior
Source files are not being copied to the container.
Information
Steps to reproduce the behavior
/frontend
/frontend/src
docker-compose
here/docker-compose.yml
Dockerfile
here/frontend/Dockerfile
docker-compose.yml
Dockerfile
npm start
so that I can bash into the container to look at the files.The text was updated successfully, but these errors were encountered: