Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
fixes for waypoint, adding Dockerfile for nomad-trex-nodejs application
Browse files Browse the repository at this point in the history
  • Loading branch information
Riaan Nolan committed Aug 10, 2022
1 parent f8af690 commit 69f8502
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ npm-debug.log
.DS_Store

# Docker
Dockerfile
docker-compose.yml
#Dockerfile
#docker-compose.yml

# Nomad
*.db
Expand Down
14 changes: 14 additions & 0 deletions hashicorp/waypoint/custom-examples/nomad-trex-nodejs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# syntax=docker/dockerfile:1

FROM node:12.18.1
ENV NODE_ENV=production

WORKDIR /app

COPY ["package.json", "package-lock.json*", "./"]

RUN npm install --production

COPY . .

CMD [ "node", "server.js" ]

0 comments on commit 69f8502

Please sign in to comment.