mirror of
https://github.com/plankanban/planka.git
synced 2025-12-14 17:23:40 +03:00
fix: Container build windows
This commit is contained in:
@@ -6,7 +6,7 @@ RUN apk -U upgrade \
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY server/package.json server/package-lock.json .
|
COPY server/package.json server/package-lock.json ./
|
||||||
|
|
||||||
RUN npm install npm@latest --global \
|
RUN npm install npm@latest --global \
|
||||||
&& npm install pnpm --global \
|
&& npm install pnpm --global \
|
||||||
@@ -17,7 +17,7 @@ FROM node:lts AS client
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY client/package.json client/package-lock.json .
|
COPY client/package.json client/package-lock.json ./
|
||||||
|
|
||||||
RUN npm install npm@latest --global \
|
RUN npm install npm@latest --global \
|
||||||
&& npm install pnpm --global \
|
&& npm install pnpm --global \
|
||||||
@@ -56,4 +56,5 @@ EXPOSE 1337
|
|||||||
HEALTHCHECK --interval=10s --timeout=2s --start-period=15s \
|
HEALTHCHECK --interval=10s --timeout=2s --start-period=15s \
|
||||||
CMD node ./healthcheck.js
|
CMD node ./healthcheck.js
|
||||||
|
|
||||||
CMD ["./start.sh"]
|
|
||||||
|
CMD [ "bash", "start.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user