mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 22:15:36 +05:00
CI: add build CI for api-prox
This commit is contained in:
parent
d71ae186a2
commit
155146c5a0
4 changed files with 50 additions and 1 deletions
5
api-prox/.dockerignore
Normal file
5
api-prox/.dockerignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
episode
|
||||
hooks
|
||||
node_modules
|
||||
README.md
|
||||
README.RU.md
|
18
api-prox/Dockerfile
Normal file
18
api-prox/Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM node:23-alpine
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/radiquum/anix
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY *.ts ./
|
||||
COPY tsconfig.json ./
|
||||
|
||||
RUN mkdir -p /app/hooks
|
||||
|
||||
EXPOSE 7001
|
||||
ENV PORT=7001
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
CMD ["npm", "run", "serve"]
|
Loading…
Add table
Add a link
Reference in a new issue