Add Dockerfile + docker-compose.yml to ease up development ?

This commit is contained in:
Alexandre Aubin 2023-07-27 00:38:02 +02:00
parent 0628a09749
commit b2911f79b9
3 changed files with 8395 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:18.17.0-bookworm-slim
ENV DEBIAN_FRONTEND noninteractive
ENV TZ="Europe/Paris"
ENV LC_ALL fr_FR.UTF-8
WORKDIR /portal
COPY . .
RUN yarn install
RUN mkdir -p /portal/.nuxt

14
docker-compose.yml Normal file
View file

@ -0,0 +1,14 @@
services:
portal:
build: .
ports:
- 127.0.0.1:3000:3000
- 127.0.0.1:24678:24678
volumes:
- .:/portal
- node_modules:/portal/node_modules
command: yarn dev
volumes:
node_modules:

8369
yarn.lock Normal file

File diff suppressed because it is too large Load diff