16 lines
376 B
Docker
16 lines
376 B
Docker
FROM oven/bun:0.8.1
|
|
|
|
RUN apt update -y && \
|
|
apt full-upgrade -y && \
|
|
apt install -y --reinstall ca-certificates && \
|
|
apt install -y --no-install-recommends git && \
|
|
apt autoremove -y --purge && \
|
|
apt clean
|
|
|
|
COPY ./ ./
|
|
COPY ./docker-entrypoint.sh /usr/local/bin
|
|
RUN bun install --production --frozen-lockfile --no-cache && \
|
|
rm -rf ~/.bun
|
|
|
|
USER bun:bun
|