hitech-api / Dockerfile
Huzaifa1313's picture
Update Dockerfile
7ed8ca4 verified
Raw History Blame Contribute Delete
350 Bytes
FROM node:18-slim
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy all code
COPY . .
# Create uploads directory
RUN mkdir -p uploads data
# Environment variables
ENV PORT=7860
ENV NODE_ENV=production
# Expose port
EXPOSE 7860
# Start the server
CMD ["npm", "start"]