Skip to content

Commit

Permalink
changes to dockerfile and docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
DevaduttM committed Sep 27, 2024
1 parent 029c3e7 commit d3c88b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-alpine

WORKDIR /app

COPY package*.json .
COPY package*.json ./

RUN npm install

Expand Down
13 changes: 9 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

version: '3.2'
services:
web:
gdc-web:
image: gdc-website
build:
context: .
Expand All @@ -9,6 +9,11 @@ services:
ports:
- "5173:5173"
volumes:
- .:/app
- app_data:/app
environment:
- NODE_ENV=production
- NODE_ENV=production
- VIRTUAL_HOST=gdc.mec.ac.in

volumes:
app_data:

0 comments on commit d3c88b3

Please sign in to comment.