Closed
Description
Hi,
Below is my Dockerfile
root@app:~/drawdb-server# more Dockerfile
FROM node:20
Create a working directory
WORKDIR /app
Install dependencies
COPY . .
RUN npm install
ENV CLIENT_URL=http://localhost:5173
ENV EMAIL_PASS=very-secret-email-password
ENV EMAIL_REPORT=[email protected]
ENV EMAIL_USER=[email protected]
ENV PORT=5000
Expose the port that the application will run on
EXPOSE 5000
Start the application
CMD ["node", "index.js"]
Metadata
Metadata
Assignees
Labels
No labels