Skip to content
Snippets Groups Projects
Commit 183aca97 authored by Steve Reis's avatar Steve Reis
Browse files

fix: Update dockerfile with new node version

Old node version (12.XX) causing building issues
parent 33fcbaaa
No related branches found
No related tags found
No related merge requests found
FROM node:12.13-alpine As development
FROM node:16.14-alpine As development
WORKDIR /usr/src/app
......@@ -12,19 +12,18 @@ RUN npm run build
RUN npm run test
FROM node:12.13-alpine as production
FROM node:16.14-alpine as production
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
RUN apk update && apk add bash
RUN apk add --no-cache bash
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --production
RUN npm ci --production --ignore-scripts
COPY . .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment