mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2025-04-24 00:29:31 +02:00
Changed from lts-slim to lts-alpine to reduce image size
This commit is contained in:
parent
be604a24c8
commit
687a72261c
2 changed files with 1 additions and 8 deletions
|
@ -1,10 +1,4 @@
|
|||
FROM node:lts-slim
|
||||
|
||||
# Install wget for healthcheck
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
FROM node:lts-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ const decodeCookie = (req: Request, _res: Response, next: NextFunction) => {
|
|||
app.get(/^(|\/share)\/healthcheck$/, async (_req, res) => {
|
||||
if (await immich.accessible()) {
|
||||
res.send('ok')
|
||||
throw new Error('asdf')
|
||||
} else {
|
||||
res.status(503).send()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue