mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-25 13:22:38 +03:00
17 lines
381 B
Docker
17 lines
381 B
Docker
FROM node:18-bullseye-slim
|
|
|
|
RUN mkdir -p /usr/src/frontend
|
|
|
|
# specifying the working dir inside the container
|
|
WORKDIR /usr/src/frontend
|
|
|
|
# copy current dir's content to container's WORKDIR root i.e. all the contents of the robosats app
|
|
COPY package.json package.json
|
|
COPY package-lock.json package-lock.json
|
|
|
|
# packages we use
|
|
RUN npm install
|
|
|
|
# launch
|
|
|
|
CMD ["npm", "run", "build"] |