résolution build faild avec node:18-alpine -> 18-slim && ajout network:host dans docker compose
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:18-alpine
|
FROM node:18-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
network: host
|
||||||
container_name: webnationsglory-admin
|
container_name: webnationsglory-admin
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user