pseudosubs-v1/Dockerfile

19 lines
315 B
Docker

FROM gplane/pnpm
WORKDIR /usr/src/app
# Copy files here
ADD dist dist
ADD srv/dist-be dist-be
ADD srv/package.json .
ADD srv/pnpm-lock.yaml .
ADD srv/.npmrc .
ADD srv/pseudosubs.sqlite .
ENV NODE_ENV=production
# Install deps
RUN pnpm i -P
# run the app
EXPOSE 3485/tcp
ENTRYPOINT [ "node", "dist-be/index.js" ]