tiny-url-nestjs-microservice/Dockerfile

16 lines
169 B
Text
Raw Normal View History

FROM node:18
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ARG SERVER_PORT
ENV PORT $SERVER_PORT
EXPOSE $SERVER_PORT
CMD ["npm", "run", "start:dev"]