mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-06 04:49:40 +05:00
feat(docker): add docker compose file for development environment
This commit is contained in:
parent
47c6ea5d08
commit
023e0c3a0b
5 changed files with 85 additions and 2 deletions
12
docker/frontend.dev.Dockerfile
Normal file
12
docker/frontend.dev.Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM node:21-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD package.json .
|
||||
|
||||
RUN npm update -g npm --loglevel verbose
|
||||
COPY . .
|
||||
RUN npm install --loglevel verbose
|
||||
# RUN npm ci --no-audit --maxsockets 1
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
Loading…
Add table
Add a link
Reference in a new issue