open-learning-exchange/planet

View on GitHub
docker/chatapi/amd64-Dockerfile

Summary

Maintainability
Test Coverage
FROM treehouses/node:3.16

RUN apk update

# Install dependencies
COPY ./chatapi/package.json ./
RUN npm install --production

# Copy the application code
COPY ./chatapi/src ./src/
COPY ./chatapi/tsconfig.json ./tsconfig.json

EXPOSE 5000

CMD ["npm", "run", "start"]