Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/templates/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM ibmcom/ibmnode

ENV NODE_ENV production
ENV PORT 3000

WORKDIR "/app"

# Install app dependencies
COPY package.json /app/
RUN cd /app; npm install
RUN cd /app; npm install; npm prune --production

# Bundle app source
COPY . /app

ENV NODE_ENV production
ENV PORT 3000

EXPOSE 3000
CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-ibm-core-node-express",
"version": "0.0.65",
"version": "0.0.66",
"description": "Yeoman generator for core node express application",
"license": "Apache-2.0",
"keywords": [
Expand Down