diff --git a/.dockerignorefile b/.dockerignorefile new file mode 100644 index 00000000..3e8021f8 --- /dev/null +++ b/.dockerignorefile @@ -0,0 +1 @@ +servers \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 00000000..91166e41 --- /dev/null +++ b/compose.yml @@ -0,0 +1,11 @@ + +version: '2' +services: + + jade-website-frontend: + image: jade-website-frontend:latest + build: + context: . + dockerfile: packages/website/Dockerfile + ports: + - 3000:3000 diff --git a/Dockerfile b/packages/website/Dockerfile similarity index 97% rename from Dockerfile rename to packages/website/Dockerfile index ee463444..1c163d05 100644 --- a/Dockerfile +++ b/packages/website/Dockerfile @@ -3,7 +3,7 @@ FROM node AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -COPY . /app +COPY ./../.. /app/ WORKDIR /app # FROM base AS prod-deps diff --git a/servers/main.bu b/servers/main.bu index ea1d5e0e..b50efe57 100644 --- a/servers/main.bu +++ b/servers/main.bu @@ -29,7 +29,7 @@ systemd: # if the package is already installed. This is useful if the package is # added to the root image in a future Fedora CoreOS release as it will # prevent the service from failing. - ExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive cockpit-system cockpit-ostree cockpit-podman cockpit-storaged cockpit-networkmanager cockpit-ostree cockpit-selinux cockpit-kdump cockpit-certificates cockpit-sosreport cockpit-tailscale + ExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive cockpit-system cockpit-ostree cockpit-podman cockpit-storaged cockpit-networkmanager cockpit-ostree cockpit-selinux cockpit-kdump cockpit-certificates cockpit-sosreport cockpit-tailscale cockpit-pcp ExecStart=/bin/touch /var/lib/%N.stamp [Install]