Skip to content

Commit

Permalink
rollback bc compiled file isnt working -> bc of docker?
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGankalot committed Jul 13, 2024
1 parent 21f58e3 commit 4954382
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COPY gunicorn.conf.py /
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh

#RUN gcc -o src/key_gen src/key_gen.c -lgmp
RUN gcc -o src/key_gen src/key_gen.c -lgmp

#CMD gunicorn --bind 0.0.0.0:9696 main:app

Expand Down
1 change: 1 addition & 0 deletions service/src/call_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def run_c_program():

output = stdout.decode('utf-8').strip().split('\n')
output = list(output)

return output[0],output[1]

def get_prime_from_c():
Expand Down
File renamed without changes.

0 comments on commit 4954382

Please sign in to comment.