Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from g60ocR/master
Browse files Browse the repository at this point in the history
Added a Dockerfile
  • Loading branch information
h0ng10 authored May 13, 2021
2 parents 96d366e + 01bb3b4 commit 850db6f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:latest
ENV TZ=Europe/Stockholm
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y jython wget git && rm -rf /var/lib/apt/lists/*
COPY . /app
RUN wget https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar -O /app/jars/ysoserial.jar
EXPOSE 8000
WORKDIR /app
ENTRYPOINT ["jython", "mjet.py"]

0 comments on commit 850db6f

Please sign in to comment.