terraform-tofu-labs/chat-app/Dockerfile

11 lines
168 B
Text
Raw Normal View History

2024-04-15 15:31:58 +00:00
FROM node:21-alpine AS build
WORKDIR /srv
ADD package.json .
RUN npm install
ADD . .
FROM node:21-alpine
COPY --from=build /srv .
EXPOSE 3000
CMD ["node", "index.js"]