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