Skip to content

Commit

Permalink
reset strapi docker file to be same as staging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwillmcleod committed Feb 4, 2024
1 parent f67f308 commit 5b29f63
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions strapi/Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# syntax = docker/dockerfile:1

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=18.19.0
FROM node:${NODE_VERSION}-slim as base

LABEL fly_launch_runtime="Node.js"

# Node.js app lives here
WORKDIR /app

# Set production environment
ENV NODE_ENV="production"

# Install yarn
# ARG YARN_VERSION=1.22.21
# RUN npm install -g yarn@$YARN_VERSION


# Throw-away build stage to reduce size of final image
FROM base as build

Expand Down

0 comments on commit 5b29f63

Please sign in to comment.