Skip to content

Commit 8c56f4f

Browse files
Update deployment
1 parent 4fd5680 commit 8c56f4f

File tree

4 files changed

+4
-30
lines changed

4 files changed

+4
-30
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
We recommend using our production environment for testing. You can find the production environment at [https://peerprep.sivarn.com](https://peerprep.sivarn.com).
44

5+
A set of email/password with admin privileges will be uploaded to Canvas through Sharing Assignment Private Info assignment.
6+
57
# Testing Locally
68

79
## DISCLAIMER: Our executor service can only run on x86_64 architecture. If you are using a different architecture, you will not be able to run the executor locally. However, you can still test the rest of the application.

deployment/Dockerfile-executor-local

Lines changed: 0 additions & 24 deletions
This file was deleted.

deployment/Dockerfile-frontend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY frontend .
1818

1919
# Install dependencies
2020

21-
RUN yarn install --frozen-lockfile
21+
RUN yarn install --frozen-lockfile --network-timeout 1000000000
2222

2323
# Build app
2424

docker-compose.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ services:
2727
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
2828

2929
executor:
30-
image: peerprep-executor-service
31-
build:
32-
context: .
33-
dockerfile: deployment/Dockerfile-executor-local
34-
platform: linux/amd64
30+
image: ghcr.io/peerprep/peerprep-executor-service:latest
3531
container_name: peerprep-executor-service
3632
restart: always
3733
networks:

0 commit comments

Comments
 (0)