mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 23:45:31 +02:00
Merge pull request #20 from ranshamay/mail-fixes2
add source code to docker
This commit is contained in:
commit
6c353e430a
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ FROM ghcr.io/plankanban/planka:base-latest as server-dependencies
|
|||
WORKDIR /app
|
||||
|
||||
COPY server/package.json server/package-lock.json .
|
||||
|
||||
COPY . ./source-code
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm install --prod
|
||||
|
@ -33,13 +33,13 @@ COPY --chown=node:node server .
|
|||
RUN mv .env.sample .env
|
||||
|
||||
COPY --from=server-dependencies --chown=node:node /app/node_modules node_modules
|
||||
COPY --from=server-dependencies --chown=node:node /app/source-code /app/src
|
||||
|
||||
COPY --from=client --chown=node:node /app/build public
|
||||
COPY --from=client --chown=node:node /app client
|
||||
|
||||
COPY --from=client --chown=node:node /app/build/index.html views/index.ejs
|
||||
|
||||
|
||||
VOLUME /app/public/user-avatars
|
||||
VOLUME /app/public/project-background-images
|
||||
VOLUME /app/private/attachments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue