mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-09-05 13:06:51 +01:00
Attempt to add dockerfile
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
FROM node:15.8.0
|
||||
|
||||
ENV PORT=
|
||||
ENV NODE_ENV=
|
||||
ARG port =
|
||||
|
||||
ENV PORT=${port}
|
||||
ENV IS_DOCKER=true
|
||||
ENV NODE_ENV=production
|
||||
ENV GHOST_KEY=
|
||||
ENV HCAPTCHA_KEY=
|
||||
ENV SENDGRID_API_KEY=
|
||||
@@ -15,4 +18,4 @@ RUN npm install
|
||||
COPY . .
|
||||
|
||||
CMD [ "npm", "start" ]
|
||||
EXPOSE 7000/tcp
|
||||
EXPOSE ${port}/tcp
|
||||
|
Reference in New Issue
Block a user