Skip to content

Commit

Permalink
add mode product to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhammadasif committed Nov 11, 2024
1 parent 5b2ca65 commit 48833d1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
adminconsole:
build:
context: .
dockerfile: ./Dockerfile
dockerfile: ./docker/Dockerfile
restart: always
container_name: edf-adminconsole-local
environment:
Expand Down
20 changes: 20 additions & 0 deletions docker/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.git
.vscode
.dockerignore
.env
.DS_Store
config
build
dist
node_modules
docker-compose.dev.yaml
docker-compose.prod.yaml
docker-compose.yaml
Dockerfile
Dockerfile.env
Dockerfile.prod
Makefile
README.md
local.config.json
frontend.config.json
config.json
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
# See the LICENSE and NOTICES files in the project root for more information.

FROM node:18-alpine AS build
# ENV EG_app__basePath=/

ENV EG_app__basePath=/edficonsole/v2.3/v7.2/ds4/saas/tx
ENV mode=production

WORKDIR /app
COPY ./package.json /app/package.json
Expand Down

0 comments on commit 48833d1

Please sign in to comment.