Added docker file so you can build it. Added Organization Brutally forced the index.js to be a module for ease-of-access Got some of the federation to work. Just some.
17 lines
284 B
Docker
17 lines
284 B
Docker
# get a base
|
|
FROM node:22-bookworm
|
|
|
|
# place the files into the image
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
# Dependencies
|
|
RUN apt update
|
|
RUN apt install npm -y
|
|
RUN npm install http-server
|
|
|
|
# Expose the port from docker-compose.yml
|
|
EXPOSE 4000
|
|
|
|
# Run the thing
|
|
CMD npx http-server /app -o -p 4000
|