Skip to content

Commit

Permalink
Merge pull request #95 from p-j/patch-1
Browse files Browse the repository at this point in the history
uses node:18-alpine in production image
  • Loading branch information
Eventyret authored Oct 23, 2023
2 parents 276cf56 + c8e1dfb commit 16c5387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/Dockerfile-prod.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN npm run build
{%- endif %}

# Creating final production image
FROM node:16-alpine
FROM node:18-alpine
RUN apk add --no-cache vips-dev
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
Expand All @@ -39,4 +39,4 @@ EXPOSE 1337
CMD ["yarn", "start"]
{%- else %}
CMD ["npm", "run", "start"]
{%- endif %}
{%- endif %}

0 comments on commit 16c5387

Please sign in to comment.