Files
caprover/dockerfile-captain.release
Dominik Gašparić c24ba64eee Add Croatian (hr-HR) language support to the frontend
🇭🇷 Add Croatian (hr-HR) language support to the frontend
#188

https://github.com/caprover/caprover-frontend/pull/188
2026-04-28 12:06:48 +02:00

18 lines
334 B
Plaintext

FROM node:22-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
ENV NODE_ENV production
ENV PORT 3000
EXPOSE 3000
CMD ["node" , "./built/server.js"]