mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 20:45:39 +01:00
set PORT from docker
This commit is contained in:
parent
e9fd42baa5
commit
e5bdee9ee7
2 changed files with 5 additions and 2 deletions
|
|
@ -34,8 +34,10 @@ COPY --from=build /build/node_modules/.prisma/ ./node_modules/.prisma/
|
|||
COPY --from=build /build/yarn.lock /build/package.json ./
|
||||
COPY --from=build /build/.next ./.next
|
||||
COPY --from=build /build/public ./public
|
||||
COPY --from=build /build/scripts ./scripts
|
||||
|
||||
USER node
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["yarn", "start"]
|
||||
ENV PORT=3000
|
||||
EXPOSE $PORT
|
||||
CMD ["yarn", "start-env"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue