cobalt/Dockerfile

16 lines
452 B
Docker
Raw Normal View History

2023-02-20 19:12:26 +00:00
FROM node:18-bullseye-slim
WORKDIR /app
2023-04-09 06:38:37 +01:00
COPY package*.json ./
RUN apt-get update && \
apt-get install -y git python3 build-essential && \
npm ci && \
npm cache clean --force && \
apt purge --autoremove -y python3 build-essential && \
rm -rf ~/.cache/ /var/lib/apt/lists/*
2023-04-09 06:38:37 +01:00
2023-02-20 19:12:26 +00:00
COPY . .
EXPOSE 9000
CMD [ "node", "src/cobalt" ]