🩹 tdrive-node Dockerfile: switch to alpine base image (and remove Mac libc thing)

This commit is contained in:
Eric Doughty-Papassideris
2024-03-05 15:55:39 +01:00
committed by Anton Shepilov
parent cbc111be7d
commit 2cc332e3cb
+7 -7
View File
@@ -1,12 +1,12 @@
# Common node machine
FROM node:lts as node-base
FROM node:lts-alpine as node-base
### Install dependencies
RUN apk add --update-cache \
ghostscript \
graphicsmagick \
&& rm -rf /var/cache/apk/*
### Install dependancies
RUN apt-get update && \
apt-get install -y ghostscript graphicsmagick
#Docker mac issue
# RUN apt-get update && apt-get install -y libc6
# RUN ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2
### Install TDrive
WORKDIR /usr/src/app