This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
qmi-cloud/docker-server/Dockerfile
2020-02-10 12:11:38 +01:00

18 lines
257 B
Docker

FROM node:13.8-alpine
RUN apk --no-cache add yarn
WORKDIR /var/www/app
ADD ./package.json ./
ADD ./yarn.lock ./
RUN yarn install --production
ADD ./server ./server
ADD ./dist ./dist
EXPOSE 3000
EXPOSE 3100
CMD ["node", "-r", "esm", "server/server"]