1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 23:04:21 +00:00
sophon/frontend/Dockerfile

19 lines
374 B
Text
Raw Normal View History

FROM node:16.11.1-bullseye
LABEL maintainer="Stefano Pigozzi <me@steffo.eu>"
# Set the base workdir
WORKDIR /usr/src/app
# Copy the yarn files
COPY package.json ./package.json
COPY yarn.lock ./yarn.lock
# Install the package
RUN yarn install
# Copy the rest of the project into the container
COPY . .
# Start the serve server
2021-10-19 20:18:01 +00:00
ENTRYPOINT ["yarn", "run"]
CMD ["serve"]