devel: update local containerized development

Update multiple aspects of our docker development stack. The frontend now
has a devel specific webpack that allows development against a local server/api.
The docker-composer.yaml also includes both versioning and networking updates.
Overall, the major change is to migrate our proxy access into the crc webpack proxy.
This commit is contained in:
jkozol 2023-05-16 16:12:48 +02:00 committed by Thomas Lavocat
parent 51ad859747
commit 5a34506eb6
5 changed files with 81 additions and 46 deletions

View file

@ -1,12 +1,12 @@
FROM docker.io/node:16
FROM node:18
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
WORKDIR /app
COPY . .
RUN npm ci
EXPOSE 8002
CMD [ "npm", "run", "prod-beta" ]
EXPOSE 1337
CMD [ "npm", "run", "devel" ]