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

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

    
4
#Install git, bash, java, maven
5
RUN apt update && apt install -y \
6
    git \
7
    bash-completion \
8
    default-jdk\
9
    maven
10

    
11
#Set working directory
12
WORKDIR /home/
13

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

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