Update deploy a bit

This commit is contained in:
Jade Ellis 2024-02-13 18:58:37 +00:00
parent 53150ef7ff
commit 18b53db737
4 changed files with 14 additions and 2 deletions

1
.dockerignorefile Normal file
View file

@ -0,0 +1 @@
servers

11
compose.yml Normal file
View file

@ -0,0 +1,11 @@
version: '2'
services:
jade-website-frontend:
image: jade-website-frontend:latest
build:
context: .
dockerfile: packages/website/Dockerfile
ports:
- 3000:3000

View file

@ -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

View file

@ -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]