aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 0966017346ec2715ab9af3e794b6254e975fb500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM node:slim

EXPOSE 3000/tcp
WORKDIR /usr/app
COPY ./ ./

SHELL ["/bin/bash", "-c"]

RUN apt update && \
    apt install openssl -y && \
    apt clean && \
    apt autoclean && \
    apt autoremove && \
    npm install --ignore-scripts && \
    npm install -g prisma

ENTRYPOINT ["/bin/bash", "-c", "scripts/image-startup.sh"]