Add locust
Browse files- Dockerfile +12 -2
Dockerfile
CHANGED
@@ -10,6 +10,16 @@
|
|
10 |
#
|
11 |
# CMD ["python", "main.py"]
|
12 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
13 |
-
FROM
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
#
|
11 |
# CMD ["python", "main.py"]
|
12 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
13 |
+
FROM node:14
|
14 |
|
15 |
+
# Install code-server globally
|
16 |
+
RUN npm install -g code-server
|
17 |
+
|
18 |
+
# Create a directory for your code
|
19 |
+
WORKDIR /workspace
|
20 |
+
|
21 |
+
# Expose the port that code-server will run on
|
22 |
+
EXPOSE 8080
|
23 |
+
|
24 |
+
# Start code-server on container startup
|
25 |
+
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]
|