From da60e90b9673623a40debda2413ee29cec9885eb Mon Sep 17 00:00:00 2001 From: Tal Kol Date: Sun, 27 Dec 2020 23:19:47 +0200 Subject: [PATCH] Cleanup up dockerfile comments --- Dockerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index f839fd4..86644b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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