R
Join ServerRailway
✋|help
Logs not showing & docker not caching
Project ID: 6935b899-6cdf-43f9-b604-1e667b9b80b3
The problem:
I'm logging a bunch of stuff to
Not a problem, just wondering:
Why is Docker not caching the first command in my Dockerfile? It shouldn't depend on anything, should it?
Here's my Dockerfile:
The problem:
I'm logging a bunch of stuff to
stdout
, but it's not showing up in the deploy logs.Not a problem, just wondering:
Why is Docker not caching the first command in my Dockerfile? It shouldn't depend on anything, should it?
Here's my Dockerfile:
FROM quay.io/fedora/fedora:37
RUN dnf install -y meson ninja-build wget gcc git vala glib-devel libsoup3-devel libgee-devel json-glib-devel libpq-devel
ADD . /app
WORKDIR /app
ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}
RUN git clone https://github.com/aleksrutins/vala-console subprojects/vala-console
RUN meson builddir -Dbuild_server=true -Dbuild_client=false && ninja -C builddir
ARG SECRET_KEY
ENV SECRET_KEY=${SECRET_KEY}
ARG PORT
ENV PORT=${PORT}
CMD [ "/app/builddir/server/valapkg-server" ]
My server is working fine, to clarify.