actual-server/Dockerfile

14 lines
218 B
Docker
Raw Normal View History

2022-04-29 02:09:40 +00:00
# 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"]