Commit 7e09b055 authored by hasan  khaddour's avatar hasan khaddour

Add Docker File

parent bd79c275
FROM openjdk:8-jdk-alpine
LABEL maintainer="Wagner Franchin"
ENV WEBPATH=/webserver/
ENV WEBSERVER="WebServerHttp"
RUN apk update && apk add ca-certificates wget && update-ca-certificates
RUN mkdir -p $WEBPATH
COPY src/main/java/ $WEBPATH
WORKDIR $WEBPATH
RUN javac *.java task/*.java
EXPOSE 8000
CMD java $WEBSERVER
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment