🔗 Free Modern URL Shortener. https://kutt.it/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
347 B

FROM node:12-alpine
RUN apk add --update bash
# Setting working directory.
WORKDIR /usr/src/app
# Installing dependencies
COPY package*.json ./
RUN npm install
# Copying source files
COPY . .
# Give permission to run script
RUN chmod +x ./wait-for-it.sh
# Build files
RUN npm run build
# Running the app
CMD [ "npm", "start" ]