Skip to content

Commit

Permalink
dockerize the app
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalvagno committed Sep 23, 2024
1 parent f4be2b2 commit b25df6c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ WORKDIR /app

COPY package*.json ./

RUN npm ci --only=production
# RUN npm ci --only=production
RUN npm ci

COPY . .

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,14 @@ db.Project.find({"id":"6565b055ae8de1c051ae0ed0"})

http://zooprocess.imev-mer.fr:8081/spec



# docker

build

docker build -t zooprocess-back .

run

docker run -p 8081:8081 --name zooprocess-back zooprocess-back

0 comments on commit b25df6c

Please sign in to comment.