Files
caprover/dockerfile-captain.edge
T
Kasra Bigdeli 8a5d3f9738 Release 1.13 (#2166)
* Fixed https://github.com/caprover/caprover/issues/2112

* Updated changelog

* Force rebuild to capture the frontend change

* Updated changelog

* added fallback ip for installation if public ip not found

* Added project definition to the config

* Added project router

* Updated apps router

* Fixed update path

* Added parent ID for projects

* Typo fix

* Not allow parent to be deleted if there are sub projects

* Fixed typo in string template

* Allow register project to accept description

* Added functionality to remove multiple projects

* Fixed the project deletion

* Fixed the project deletion

* Close https://github.com/caprover/caprover/issues/2153

* Added changelog

* updated changelog

* Updated changelog

* Better error

* Force build

* add MariaDB to README.md

* Improved MacOs startup

* Added theme on backend (#2161)

* Added theme on backend

* Added themes

* Added another theme

* Updated changelog

* Reformat

* Improved dev code

* Improved dev code

* Added another theme

* Updated packages (#2165)

* Updated packages

* Updated packages

* Fixed formatting

* Fixed tests

* Returning project upon creation

* Preparing release

* updated frontend

* Added some test to fix node 20

* Revert "Added some test to fix node 20"

This reverts commit 18a59794b8.

* Updated changelog

---------

Co-authored-by: Robert Silén <robert.silen@mariadb.org>
2024-10-19 10:24:36 -07:00

22 lines
464 B
Plaintext

FROM node:18-alpine
RUN apk add --update --no-cache make gcc g++ git curl openssl openssh
WORKDIR /usr/src/app
COPY . ./
# Build backend code
RUN npm ci && \
npm run build && \
npm ci --omit=dev && \
npm cache clean --force && \
mv ./edge-override.json ./config-override.json
# This quick hack invalidates the cache.
ADD https://www.google.com /time.now
ENV NODE_ENV production
ENV PORT 3000
EXPOSE 3000
CMD ["node" , "./built/server.js"]