mirror of
https://github.com/caprover/caprover
synced 2025-12-16 08:15:42 +00:00
14 lines
291 B
Plaintext
14 lines
291 B
Plaintext
RUN apk update && apk upgrade && \
|
|
apk add --no-cache git
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY ./package.json /usr/src/app/
|
|
RUN npm install --production && npm cache clean --force
|
|
COPY ./ /usr/src/app
|
|
ENV NODE_ENV production
|
|
ENV PORT 80
|
|
EXPOSE 80
|
|
|
|
CMD [ "npm", "start" ]
|