actual-server/Dockerfile
James Long 1149730962 Fixes
2022-04-28 22:40:13 -04:00

14 lines
No EOL
218 B
Docker

# 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
ADD . .
RUN yarn install --production
CMD ["yarn", "start"]