Spaces:
Sleeping
Sleeping
Commit ·
fd03ac1
1
Parent(s): 0cfb36b
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,10 @@ ENV PATH="/root/.bud/bin:${PATH}"
|
|
| 14 |
|
| 15 |
# Install dependencies and build the application
|
| 16 |
WORKDIR user-manager
|
| 17 |
-
RUN npm install
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# Start the service
|
| 20 |
CMD ["./bud/app"]
|
|
|
|
| 14 |
|
| 15 |
# Install dependencies and build the application
|
| 16 |
WORKDIR user-manager
|
| 17 |
+
RUN npm install
|
| 18 |
+
|
| 19 |
+
# Build the application
|
| 20 |
+
RUN export PATH="/root/.bud/bin:${PATH}" && bud build
|
| 21 |
|
| 22 |
# Start the service
|
| 23 |
CMD ["./bud/app"]
|