mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-12-22 14:52:18 +00:00
22 lines
335 B
Plaintext
22 lines
335 B
Plaintext
FROM node:15.8.0
|
|
|
|
ARG port =
|
|
|
|
ENV PORT=${port}
|
|
ENV IS_DOCKER=true
|
|
ENV NODE_ENV=production
|
|
ENV GHOST_KEY=
|
|
ENV HCAPTCHA_KEY=
|
|
ENV SENDGRID_API_KEY=
|
|
ENV TO_MAIL_USER=
|
|
ENV REPLY_TO_MAIL=
|
|
ENV FROM_MAIL_USER=
|
|
|
|
WORKDIR /app
|
|
COPY ["package.json", "package-lock.json*", "./"]
|
|
RUN npm install
|
|
COPY . .
|
|
|
|
CMD [ "npm", "start" ]
|
|
EXPOSE ${port}/tcp
|