Spaces:
Runtime error
Runtime error
grosenthal
commited on
Commit
•
67cba20
1
Parent(s):
a94b00b
no public
Browse files- Dockerfile.client +9 -0
Dockerfile.client
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Build step #1: build the React front end
|
2 |
+
FROM node:16-alpine as build-step
|
3 |
+
WORKDIR /app
|
4 |
+
ENV PATH /app/node_modules/.bin:$PATH
|
5 |
+
COPY package.json yarn.lock ./
|
6 |
+
COPY ./src ./src
|
7 |
+
COPY ./public ./public
|
8 |
+
RUN yarn install
|
9 |
+
RUN yarn build
|