Wrote a rudamentry Dockerfile

This commit is contained in:
Alicia Sykes
2023-07-22 20:31:35 +01:00
parent 47db364ec4
commit 9f04d06ec9
2 changed files with 11 additions and 1 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:16-buster-slim AS base
WORKDIR /app
FROM base AS builder
COPY . .
RUN apt-get update && \
apt-get install -y chromium traceroute && \
rm -rf /var/lib/apt/lists/*
RUN npm install --force
EXPOSE 8888
CMD ["npm", "start"]