tonne commited on
Commit
6ccaef0
1 Parent(s): 35499c0

Add locust

Browse files
Files changed (1) hide show
  1. 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 toandaominh1997/hermes_locust_server:v1
14
 
15
- RUN ls -la
 
 
 
 
 
 
 
 
 
 
 
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", "."]