Skip to content
Snippets Groups Projects
Select Git revision
  • 6d7ffe6a25f7bd4f211de2318a9d43d287eae1e5
  • master default protected
2 results

Dockerfile

Blame
  • user avatar
    James Long authored
    6d7ffe6a
    History
    Dockerfile 218 B
    # base node image
    FROM node:16-bullseye-slim as base
    
    RUN apt-get update && apt-get install -y openssl
    
    RUN mkdir /app
    WORKDIR /app
    ENV NODE_ENV=production
    
    RUN yarn install --production
    
    ADD . .
    
    CMD ["yarn", "start"]