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:
parent
51ad859747
commit
5a34506eb6
5 changed files with 81 additions and 46 deletions
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue