Skip to content

Commit

Permalink
fix: удалил volumes из docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dlexeyn committed Dec 9, 2024
1 parent 177d48b commit 4057ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ services:
ports:
- "8000:8000"
build: ./backend
volumes:
- "./backend:/app"
- read_only: true
depends_on:
- db
networks:
Expand All @@ -31,10 +28,6 @@ services:
image: app_vue
restart: on-failure
build: ./frontend
volumes:
- "./frontend:/app"
- "/app/node_modules"
- read_only: true
ports:
- "8080:8080"
networks:
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM node:lts-alpine

WORKDIR /app

COPY . .

ENV PATH /app/node_modules/.bin:$PATH

COPY package.json .
COPY package-lock.json .
RUN npm install
CMD ["npm", "run", "serve"]

0 comments on commit 4057ffe

Please sign in to comment.