-
-
Notifications
You must be signed in to change notification settings - Fork 30
Containarized app #123
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello there :)
I am working on trying to build a container for this application.
This is the containerfile:
FROM node:22 AS builder
WORKDIR /app
RUN git clone --branch main https://github.com/oatear/cider.git .
WORKDIR /app/cider-app
RUN npm install
RUN npm install -g @angular/cli
RUN ng build --configuration=production
RUN cp dist/cider/browser/index.html dist/cider/browser/404.html
WORKDIR /
FROM nginx:latest
COPY --from=builder /app/cider-app/dist/cider/browser /usr/share/nginx/html
EXPOSE 80
You can build (and then run) by using:
podman build . -t cider;podman run --rm --replace --name cider -p 8080:80 localhost/cider:latest;- Access localhost:8080 and see cider;
I would like to mount a volume to this, where I can store everything (similar to the offline app structure) but due to the different folder structures from the local app to the static website I am struggling. (This is in order to be able to collaborate with others in the same network as me).
I hope you can help me out :)
PS: Thank you for developing this application, it works really well and has all of the features we needed for a small project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request