]> Untitled Git - lemmy-ui.git/blobdiff - Dockerfile
v0.18.1-rc.2
[lemmy-ui.git] / Dockerfile
index 0a23ea897b00c8fb118cac744d12f5d39ad1d971..2b36581d28d6ceebe2a891d35abe15fb9da410a3 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:alpine as builder\r
+FROM node:20.2-alpine as builder\r
 RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache\r
 RUN curl -sf https://gobinaries.com/tj/node-prune | sh\r
 \r
@@ -7,7 +7,6 @@ WORKDIR /usr/src/app
 ENV npm_config_target_arch=x64\r
 ENV npm_config_target_platform=linux\r
 ENV npm_config_target_libc=musl\r
-ENV NODE_ENV=production\r
 \r
 # Cache deps\r
 COPY package.json yarn.lock ./\r