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.
 
 

17 lines
266 B

FROM node:14-alpine
# Add sqlite package
RUN apk add sqlite
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Compile project
COPY . .
RUN npm run build
CMD [ "node", "dist/index.js" ]