mirror of
https://github.com/luxfhe/research-ocp-fhe.git
synced 2026-10-30 17:09:36 +00:00
16 lines
282 B
Docker
16 lines
282 B
Docker
# Use the official node image as a parent image
|
|
FROM node:18
|
|
|
|
# Set the working directory
|
|
WORKDIR /app
|
|
|
|
# Copy package files first to leverage Docker cache
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install
|
|
|
|
# Then copy the rest of the files
|
|
COPY . .
|
|
|
|
EXPOSE 8080
|
|
CMD ["yarn", "prod"]
|