Require DATABASE_URL to be set

This commit is contained in:
Imbus 2023-11-06 00:23:44 +01:00
parent b2095e98fb
commit 757e670dbb
3 changed files with 10 additions and 2 deletions

View file

@ -28,6 +28,8 @@ RUN addgroup -S user && adduser -S user -G user
WORKDIR /runner
# Copy the server binary and the public directory, note the debug binary
COPY --from=builder /build/target/x86_64-unknown-linux-musl/debug/server /runner/server
RUN mkdir /runner/public
RUN echo "Debug build!" > /runner/public/index.html
# Make sure the user can access the files
RUN chown -R user:user /runner