mirror of
https://github.com/ringtools/ringtools-server-ts.git
synced 2024-05-16 05:44:40 +02:00
15 lines
217 B
Docker
15 lines
217 B
Docker
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"] |