ringtools-server-ts/Dockerfile

15 lines
217 B
Docker
Raw Normal View History

2022-01-14 01:36:28 +01:00
FROM node:16-bullseye-slim
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
WORKDIR /usr/src/app
COPY package*.json yarn.lock ./
RUN yarn install --production
RUN yarn global add ts-node
EXPOSE 3000
CMD ["node"]