Skip to content
Snippets Groups Projects
Commit 8234f63a authored by Yehor Potebenko's avatar Yehor Potebenko
Browse files

refactor: add .dockerignore file and configure it

parent 70a2f34b
No related branches found
No related tags found
No related merge requests found
.dockerignore
Dockerfile
node_modules/
docker-compose.yml
\ No newline at end of file
...@@ -3,6 +3,7 @@ version: '1.0.0' ...@@ -3,6 +3,7 @@ version: '1.0.0'
services: services:
frontend: frontend:
build: build:
context: .
dockerfile: src/Dockerfile dockerfile: src/Dockerfile
env_file: env_file:
- .env - .env
...@@ -18,9 +19,10 @@ services: ...@@ -18,9 +19,10 @@ services:
backend: backend:
build: build:
context: ./server context: server
dockerfile: Dockerfile
env_file: env_file:
- ./server/.env - .env
container_name: node-server container_name: node-server
ports: ports:
- '${BACKEND_PORT}:${BACKEND_PORT}' - '${BACKEND_PORT}:${BACKEND_PORT}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment