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'
services:
frontend:
build:
context: .
dockerfile: src/Dockerfile
env_file:
- .env
......@@ -18,9 +19,10 @@ services:
backend:
build:
context: ./server
context: server
dockerfile: Dockerfile
env_file:
- ./server/.env
- .env
container_name: node-server
ports:
- '${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