Project

General

Profile

Step by Step guide for creating and running a Docker imag... ยป Dockerfile

Dockerfile for image creation - Nick Naglich, 03/11/2022 12:41 AM

 
# syntax=docker/dockerfile:1
FROM debian:latest

#Install git, bash, java, maven
RUN apt update && apt install -y \
git \
bash-completion \
default-jdk\
maven

#Set working directory
WORKDIR /home/

#Clone VRSpace from github
RUN git clone https://github.com/jalmasi/vrspace.git

#Expose ports 8080 and 8443
EXPOSE 8080
EXPOSE 8443
    (1-1/1)