Skip to content

Commit

Permalink
Merge pull request #725 from jorenn92/Fix/#679
Browse files Browse the repository at this point in the history
fix(build): Added a workaround for the 'Text file busy' error when us…
  • Loading branch information
jorenn92 authored Jan 8, 2024
2 parents 30fef1f + 3989631 commit cd77df5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine AS BUILDER
FROM node:20-alpine3.19 AS BUILDER
LABEL Description="Contains the Maintainerr Docker image"

WORKDIR /opt
Expand Down Expand Up @@ -41,7 +41,7 @@ RUN \

RUN yarn --production --non-interactive --ignore-scripts --prefer-offline --frozen-lockfile --network-timeout 99999999

FROM node:lts-alpine
FROM node:20-alpine3.19

ARG TARGETPLATFORM
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
Expand All @@ -52,6 +52,9 @@ ENV NODE_ENV=${NODE_ENV}
ARG DEBUG=false
ENV DEBUG=${DEBUG}

# Temporary workaround for https://github.com/libuv/libuv/pull/4141
ENV UV_USE_IO_URING=0

EXPOSE 80

WORKDIR /opt
Expand Down

0 comments on commit cd77df5

Please sign in to comment.