Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -7,11 +7,9 @@ WORKDIR /app
|
|
7 |
# Copy package.json and package-lock.json to the working directory
|
8 |
COPY package.json yarn.lock ./
|
9 |
|
10 |
-
# Copy the rest of the application to the working directory
|
11 |
-
COPY . .
|
12 |
|
13 |
# Build the application
|
14 |
-
RUN npm run
|
15 |
|
16 |
# Expose port 3000 for the application
|
17 |
EXPOSE 3000
|
|
|
7 |
# Copy package.json and package-lock.json to the working directory
|
8 |
COPY package.json yarn.lock ./
|
9 |
|
|
|
|
|
10 |
|
11 |
# Build the application
|
12 |
+
RUN npm run start
|
13 |
|
14 |
# Expose port 3000 for the application
|
15 |
EXPOSE 3000
|