pseudosubs-v1/Dockerfile

19 lines
315 B
Docker
Raw Normal View History

2024-02-29 15:57:18 +00:00
FROM gplane/pnpm
2024-02-29 14:14:57 +00:00
WORKDIR /usr/src/app
2024-02-29 15:57:18 +00:00
# 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 .
2024-02-29 14:14:57 +00:00
ENV NODE_ENV=production
# Install deps
2024-02-29 15:57:18 +00:00
RUN pnpm i -P
2024-02-29 14:14:57 +00:00
# run the app
EXPOSE 3485/tcp
2024-02-29 15:57:18 +00:00
ENTRYPOINT [ "node", "dist-be/index.js" ]