Prajith04 commited on
Commit
04f60df
·
verified ·
1 Parent(s): 6f076d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -11
Dockerfile CHANGED
@@ -1,13 +1,7 @@
1
- FROM ubuntu:22.04
2
 
3
- WORKDIR /app
4
-
5
- RUN apt update && apt install -y wget unzip sudo docker.io docker-compose \
6
- && apt clean && rm -rf /var/lib/apt/lists/*
7
- COPY --chown=user ./docker-compose.yml docker-compose.yml
8
- COPY --chown=user ./judge0.conf judge0.conf
9
-
10
- COPY . /app
11
-
12
- CMD ["docker-compose", "up"]
13
 
 
 
 
1
+ FROM ghcr.io/engineer-man/piston:latest
2
 
3
+ # Expose port 2000
4
+ EXPOSE 2000
 
 
 
 
 
 
 
 
5
 
6
+ # Run the server
7
+ CMD ["node", "api"]