Skip to content

Commit

Permalink
Cleanup up dockerfile comments
Browse files Browse the repository at this point in the history
  • Loading branch information
talkol committed Dec 27, 2020
1 parent f6ba180 commit da60e90
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
FROM node:14-alpine
# Env

ENV NODE_ENV production
# Set the timezone in docker
# Create Directory for the Container

WORKDIR /opt/orbs
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)

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

RUN apk add --no-cache git
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production

# Bundle app source
COPY dist ./dist

# Start
CMD [ "npm", "start" ]
EXPOSE 8080

0 comments on commit da60e90

Please sign in to comment.